Index: test/mjsunit/harmony/module-linking.js |
diff --git a/test/mjsunit/harmony/module-linking.js b/test/mjsunit/harmony/module-linking.js |
index 3c0f18c37dbe5c02bed700cf894efc493e738328..3a5bc89793fd540100afbda673837b1167441155 100644 |
--- a/test/mjsunit/harmony/module-linking.js |
+++ b/test/mjsunit/harmony/module-linking.js |
@@ -109,7 +109,7 @@ module R { |
assertThrows(function() { l }, ReferenceError) |
assertThrows(function() { R.l }, ReferenceError) |
- assertThrows(function() { eval("c = -1") }, SyntaxError) |
+ assertThrows(function() { eval("c = -1") }, TypeError) |
assertThrows(function() { R.c = -2 }, TypeError) |
// Initialize first bunch of variables. |
@@ -129,7 +129,7 @@ module R { |
assertEquals(-4, R.v = -4) |
assertEquals(-3, l = -3) |
assertEquals(-4, R.l = -4) |
- assertThrows(function() { eval("c = -3") }, SyntaxError) |
+ assertThrows(function() { eval("c = -3") }, TypeError) |
assertThrows(function() { R.c = -4 }, TypeError) |
assertEquals(-4, v) |