changeset 20929 | f2bd18181940 |
parent 16151 | 97c1e756ae1e |
child 24778 | 2ff5d7041566 |
--- a/nashorn/test/script/basic/NASHORN-40.js Wed Oct 09 17:53:22 2013 +0200 +++ b/nashorn/test/script/basic/NASHORN-40.js Thu Oct 10 11:48:56 2013 +0200 @@ -31,11 +31,11 @@ try { eval("print(.foo)"); } catch (e) { - print(e.toString().replace(/\\/g, '/')); + printError(e); } try { eval(".bar = 3423;"); } catch (e) { - print(e.toString().replace(/\\/g, '/')); + printError(e); }