1.1 --- a/test/script/basic/NASHORN-98.js Wed Oct 09 17:53:22 2013 +0200 1.2 +++ b/test/script/basic/NASHORN-98.js Thu Oct 10 11:48:56 2013 +0200 1.3 @@ -34,7 +34,7 @@ 1.4 if (! (e instanceof SyntaxError)) { 1.5 fail("syntax error expected here got " + e); 1.6 } 1.7 - print(e.toString().replace(/\\/g, '/')); 1.8 + printError(e); 1.9 } 1.10 1.11 try { 1.12 @@ -43,5 +43,5 @@ 1.13 if (! (e instanceof SyntaxError)) { 1.14 fail("syntax error expected here got " + e); 1.15 } 1.16 - print(e.toString().replace(/\\/g, '/')); 1.17 + printError(e); 1.18 }