Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: test/mjsunit/asm/infinite-loops-taken.js

Issue 1544793002: [tests] Fix bogus uses of assertThrows. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/d8-os.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)));
« no previous file with comments | « no previous file | test/mjsunit/d8-os.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698