adjust test to babel's error reporting, since we don't use esprima for parsing anymore

This commit is contained in:
Slava Kim
2015-07-24 15:21:26 -07:00
parent ed9310f55b
commit bde35fc505

View File

@@ -250,7 +250,7 @@ selftest.define("change packages during hot code push", [], function () {
s.write("package.js", "]");
run.waitSecs(3);
run.match("=> Errors prevented startup");
run.match("package.js:1:1: Unexpected token ]");
run.match("package.js:1: Unexpected token");
run.match("Waiting for file change");
s.write("package.js", packageJs);