Index: test/mjsunit/regress/regress-1130.js |
diff --git a/test/mjsunit/regress/regress-1130.js b/test/mjsunit/regress/regress-1130.js |
index 07d5e3d46727e4f8fef105dd895f205d33200a56..6ba430b04f28cbaf45e37f91f4a05d918e0d83ec 100644 |
--- a/test/mjsunit/regress/regress-1130.js |
+++ b/test/mjsunit/regress/regress-1130.js |
@@ -35,6 +35,6 @@ try { |
eval("(function() { const x; var x })")(); |
} catch (e) { |
exception = true; |
- assertTrue(e instanceof TypeError); |
+ assertTrue(e instanceof SyntaxError); |
} |
assertTrue(exception); |