Index: test/mjsunit/external-array-no-sse2.js |
diff --git a/test/mjsunit/external-array-no-sse2.js b/test/mjsunit/external-array-no-sse2.js |
index 9a008fbe6b5264942c163d57a073736a3c115f85..11e61ba186577d1a463c024fca1af4d35482e104 100644 |
--- a/test/mjsunit/external-array-no-sse2.js |
+++ b/test/mjsunit/external-array-no-sse2.js |
@@ -606,7 +606,7 @@ a61.set(a62) |
assertArrayPrefix([1, 12], a61) |
// Invalid source |
-a.set(0); // does not throw |
+assertThrows(function() { a.set(0); }, TypeError); |
assertArrayPrefix([1,2,3,4,5,6], a); |
a.set({}); // does not throw |
assertArrayPrefix([1,2,3,4,5,6], a); |