Skip to content

Commit 1da1327

Browse files
committed
tests work in the resources directory for maven
1 parent e8039c5 commit 1da1327

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/src/test/java/com/github/mustachejava/functions/TranslateBundleTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ protected String getContents(File root, String file) throws IOException {
4343
@BeforeClass
4444
public static void setUp() throws Exception {
4545
File compiler = new File("compiler").exists() ? new File("compiler") : new File(".");
46-
File file = new File(compiler, "src/test/resources/functions");
47-
root = new File(file, "translatebundle.html").exists() ? file : new File("src/test/resources/functions");
46+
root = new File(compiler, "src/test/resources/functions");
4847
}
4948
}

compiler/src/test/java/com/github/mustachejava/functions/translatebundle_en.properties renamed to compiler/src/test/resources/com/github/mustachejava/functions/translatebundle_en.properties

File renamed without changes.

0 commit comments

Comments
 (0)