mirror of https://github.com/apache/lucene.git
LUCENE-4268: Fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
92af111ca3
commit
0ebfb6a2f7
|
@ -60,7 +60,7 @@ public class TestFilesystemResourceLoader extends LuceneTestCase {
|
|||
}
|
||||
|
||||
public void testBaseDir() throws Exception {
|
||||
final File base = _TestUtil.getTempDir("fsResourceLoaderBase");
|
||||
final File base = _TestUtil.getTempDir("fsResourceLoaderBase").getAbsoluteFile();
|
||||
try {
|
||||
base.mkdirs();
|
||||
Writer os = new OutputStreamWriter(new FileOutputStream(new File(base, "template.txt")), IOUtils.CHARSET_UTF_8);
|
||||
|
|
Loading…
Reference in New Issue