Index: test/mjsunit/asm/infinite-loops-taken.js |
diff --git a/test/mjsunit/asm/infinite-loops-taken.js b/test/mjsunit/asm/infinite-loops-taken.js |
index d136c62469b7c910e563d7aa8a1603867afd22ce..8a3f91a67a810d52fc79d9094c092ccc97704923 100644 |
--- a/test/mjsunit/asm/infinite-loops-taken.js |
+++ b/test/mjsunit/asm/infinite-loops-taken.js |
@@ -35,7 +35,7 @@ function Module() { |
} |
var m = Module(); |
-assertThrows(function() { m.w0(counter(5)) }, error); |
-assertThrows(function() { m.w1(counter(5)) }, error); |
-assertThrows(function() { m.w2(counter(5)) }, error); |
+assertThrowsEquals(function() { m.w0(counter(5)) }, error); |
+assertThrowsEquals(function() { m.w1(counter(5)) }, error); |
+assertThrowsEquals(function() { m.w2(counter(5)) }, error); |
assertEquals(111, m.w3(counter(5))); |