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

Unified Diff: test/mjsunit/regress/regress-1132.js

Issue 7053035: Fix a number of tests that incorrectly used assertUnreachable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 9 years, 7 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/regress/regress-1130.js ('k') | test/mjsunit/regress/regress-1160.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-1132.js
diff --git a/test/mjsunit/regress/regress-1132.js b/test/mjsunit/regress/regress-1132.js
index 4423ecdd34e322440820ae5eae06ab30e37969fd..3314db85727272f274f556db3ac415b352201e7e 100644
--- a/test/mjsunit/regress/regress-1132.js
+++ b/test/mjsunit/regress/regress-1132.js
@@ -41,8 +41,10 @@ function test() {
}
}
+var exception = false;
try {
test();
- assertUnreachable();
} catch (e) {
+ exception = true;
}
+assertTrue(exception);
« no previous file with comments | « test/mjsunit/regress/regress-1130.js ('k') | test/mjsunit/regress/regress-1160.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698