1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Tue Oct 16 17:40:51 2012 +0200
1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Sun Nov 25 17:07:51 2012 +0100
1.3 @@ -134,9 +134,9 @@
1.4 try {
1.5 ret = code.invokeFunction(methodName, args);
1.6 } catch (ScriptException ex) {
1.7 - fail("Execution failed in\n" + codeSeq, ex);
1.8 + fail("Execution failed in\n" + StaticMethodTest.dumpJS(codeSeq), ex);
1.9 } catch (NoSuchMethodException ex) {
1.10 - fail("Cannot find method in\n" + codeSeq, ex);
1.11 + fail("Cannot find method in\n" + StaticMethodTest.dumpJS(codeSeq), ex);
1.12 }
1.13 if (ret == null && expRes == null) {
1.14 return;
1.15 @@ -144,7 +144,7 @@
1.16 if (expRes.equals(ret)) {
1.17 return;
1.18 }
1.19 - assertEquals(ret, expRes, msg + "was: " + ret + "\n" + codeSeq);
1.20 + assertEquals(ret, expRes, msg + "was: " + ret + "\n" + StaticMethodTest.dumpJS(codeSeq));
1.21
1.22 }
1.23