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:
Uwe Schindler 2012-07-28 19:57:32 +00:00
parent 92af111ca3
commit 0ebfb6a2f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);