mirror of https://github.com/apache/lucene.git
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:
parent
0d8da94624
commit
d7a71a3a29
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue