Fixed silly sensitivity to file separators (Windows/Unix). Bah.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erick Erickson 2013-03-14 20:37:38 +00:00
parent 0d8da94624
commit d7a71a3a29
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ public class TestSolrDiscoveryProperties extends SolrTestCaseJ4 {
// This is too long and ugly to put in. Besides, it varies. // This is too long and ugly to put in. Besides, it varies.
assertNotNull(desc.getProperty("solr.core.instanceDir")); assertNotNull(desc.getProperty("solr.core.instanceDir"));
assertEquals("data/", desc.getProperty("solr.core.dataDir")); assertEquals("data" + File.separator, desc.getProperty("solr.core.dataDir"));
assertEquals("solrconfig-minimal.xml", desc.getProperty("solr.core.configName")); assertEquals("solrconfig-minimal.xml", desc.getProperty("solr.core.configName"));
assertEquals("schema-tiny.xml", desc.getProperty("solr.core.schemaName")); assertEquals("schema-tiny.xml", desc.getProperty("solr.core.schemaName"));
core1.close(); core1.close();