Skip to content

Apache Lucene open-source search software

make the test case also work in Eclipse, not only in the ant task

Daniel Naberf3edf7417aab
diff --git a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java
index a5e3f629274..1294d5e577b 100644
--- a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java
+++ b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java
@@ -48,7 +48,7 @@ public class TestRussianAnalyzer extends TestCase
protected void setUp() throws Exception
{
- dataDir = new File(System.getProperty("dataDir"));
+ dataDir = new File(System.getProperty("dataDir", "./bin"));
}
public void testUnicode() throws IOException