Skip to content

Commit 54b977a

Browse files
committed
Test that the EclipseHelper can handle spaces in directory names
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 79ebf22 commit 54b977a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/scijava/annotations/EclipseHelperTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private File createTempDirectory() throws IOException {
157157
final File testClassesDirectory = new File(directory);
158158
if (testClassesDirectory.isDirectory()) {
159159
final File result =
160-
new File(testClassesDirectory.getParentFile(), "eclipse-test");
160+
new File(testClassesDirectory.getParentFile(), "eclipse test");
161161
if (result.exists()) {
162162
rmRF(result);
163163
}
@@ -166,7 +166,7 @@ private File createTempDirectory() throws IOException {
166166
}
167167
}
168168
// fall back to /tmp/
169-
final File result = File.createTempFile("eclipse-test", "");
169+
final File result = File.createTempFile("eclipse test", "");
170170
result.delete();
171171
result.mkdir();
172172
return result;

0 commit comments

Comments
 (0)