mirror of https://github.com/apache/lucene.git
fix path normalization test to match current behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@784951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a1df70286c
commit
588d8fa51e
|
@ -29,6 +29,8 @@ import org.apache.solr.request.JSONResponseWriter;
|
|||
import org.apache.solr.util.plugin.ResourceLoaderAware;
|
||||
import org.apache.solr.util.plugin.SolrCoreAware;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class ResourceLoaderTest extends TestCase
|
||||
{
|
||||
public void testInstanceDir() throws Exception {
|
||||
|
@ -38,7 +40,7 @@ public class ResourceLoaderTest extends TestCase
|
|||
|
||||
loader = new SolrResourceLoader("solr");
|
||||
instDir = loader.getInstanceDir();
|
||||
assertTrue(instDir + " is not equal to " + "solr/", instDir.equals("solr/") == true);
|
||||
assertTrue(instDir + " is not equal to " + "solr/", instDir.equals("solr" + File.separator) == true);
|
||||
}
|
||||
|
||||
public void testAwareCompatibility()
|
||||
|
|
Loading…
Reference in New Issue