1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Fix (band-aid) Go/JavaScript cross-boundary error transformation

This commit is contained in:
Robert Krimen
2013-03-06 12:07:26 -08:00
parent d0132833fb
commit 260b2a48bf
4 changed files with 9 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ func Test_eval(t *testing.T) {
`, "true")
// TODO Make this a sane result
// Lightning bolt, lightning bolt, lightning bolt, ...
test(`ghi`, "SyntaxError: SyntaxError: SyntaxError: Unexpected token ILLEGAL ()")
test(`ghi`, "SyntaxError: Unexpected token ILLEGAL ()")
test(`
function abc(){