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

Unified Diff: test/mjsunit/regress/regress-70066.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 | « test/mjsunit/mjsunit.js ('k') | test/mjsunit/third_party/regexp-pcre/regexp-pcre.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-70066.js
diff --git a/test/mjsunit/regress/regress-70066.js b/test/mjsunit/regress/regress-70066.js
index 01c2f4f3a31c89c5f0dfe4808a7886035f647fa9..8787b766467c5a8722efb583b52403c1040a2006 100644
--- a/test/mjsunit/regress/regress-70066.js
+++ b/test/mjsunit/regress/regress-70066.js
@@ -120,7 +120,7 @@ function test8() {
}
assertEquals(true, test8(), "test8");
-assertThrows("x", "test8"); // Global x should be deleted.
+assertThrows("x"); // Global x should be deleted.
// Delete on a property that is not found anywhere.
@@ -128,7 +128,7 @@ function test9() {
with ({}) { return delete x; }
}
-assertThrows("x", "test9"); // Make sure it's not there.
+assertThrows("x"); // Make sure it's not there.
assertEquals(true, test9(), "test9");
« no previous file with comments | « test/mjsunit/mjsunit.js ('k') | test/mjsunit/third_party/regexp-pcre/regexp-pcre.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698