We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a4ab2 commit c1b3ec4Copy full SHA for c1b3ec4
1 file changed
src/test/java/com/annimon/ownlang/parser/ProgramsTest.java
@@ -127,7 +127,11 @@ public void testOutput() throws IOException {
127
@Override
128
public void visit(FunctionDefineStatement s) {
129
if (s.name.startsWith("test")) {
130
- Functions.get(s.name).execute();
+ try {
131
+ Functions.get(s.name).execute();
132
+ } catch (AssertionError err) {
133
+ throw new AssertionError(s.name + ": " + err.getMessage(), err);
134
+ }
135
}
136
137
};
0 commit comments