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