test fix for SOLR-4935, path separator issue (second)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erick Erickson 2013-06-22 04:23:37 +00:00
parent 3b33ded21a
commit fab1b8babf
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ public class TestSolrXmlPersistence extends SolrTestCaseJ4 {
String[] expressions = new String[2];
String instHome = new File(solrHomeDirectory, "new_one").getAbsolutePath();
expressions[0] = "/solr/cores/core[@name='new_one' and @instanceDir='" + instHome + "']";
expressions[1] = "/solr/cores/core[@name='new_two' and @instanceDir='new_two/']";
expressions[1] = "/solr/cores/core[@name='new_two' and @instanceDir='new_two" + File.separator + "']";
assertXmlFile(persistXml1, expressions);