nashorn/test/script/basic/eval.js
changeset 20929 f2bd18181940
parent 16151 97c1e756ae1e
child 24778 2ff5d7041566
--- a/nashorn/test/script/basic/eval.js	Wed Oct 09 17:53:22 2013 +0200
+++ b/nashorn/test/script/basic/eval.js	Thu Oct 10 11:48:56 2013 +0200
@@ -69,5 +69,5 @@
     eval("print('hello)");
 } catch (e) {
     print("is syntax error? " + (e instanceof SyntaxError));
-    print(e.toString().replace(/\\/g, '/'));
+    printError(e);
 }