Skip to content

Commit a9c77e8

Browse files
committed
the lambda tests depend on this ordering
1 parent 9cc19a4 commit a9c77e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/test/java/com/github/mustachejava/SpecTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public String apply(String input) {
102102
StringWriter writer = new StringWriter();
103103
String json = data.toString();
104104
if (json.startsWith("{")) {
105-
compile.execute(writer, new Object[]{functionMap.get(file), new ObjectMapper().readValue(json, Map.class)});
105+
compile.execute(writer, new Object[]{new ObjectMapper().readValue(json, Map.class), functionMap.get(file)});
106106
} else if (json.startsWith("[")) {
107107
compile.execute(writer, new Object[]{functionMap.get(file), new ObjectMapper().readValue(json, List.class)});
108108
} else {

0 commit comments

Comments
 (0)