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:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user