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

Unified Diff: chrome/test/data/extensions/platform_apps/restrictions/test.js

Issue 10534054: Improve extension api tests: run all tests, even if one fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some tests Created 8 years, 6 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 | « chrome/test/data/extensions/api_test/tabs/get_current/test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/restrictions/test.js
diff --git a/chrome/test/data/extensions/platform_apps/restrictions/test.js b/chrome/test/data/extensions/platform_apps/restrictions/test.js
index 94fcfd1cad864bb13e04fc678ed244b493b8557f..c179adb3936862992f515b590d6f721b8bb1625d 100644
--- a/chrome/test/data/extensions/platform_apps/restrictions/test.js
+++ b/chrome/test/data/extensions/platform_apps/restrictions/test.js
@@ -13,7 +13,7 @@ function assertThrowsError(method, opt_expectedError) {
method();
fail("error not thrown");
} catch (e) {
- assertEq(e.message || e, opt_expectedError || DEFAULT_EXPECTED_ERROR);
+ assertEq(opt_expectedError || DEFAULT_EXPECTED_ERROR, e.message || e);
}
}
« no previous file with comments | « chrome/test/data/extensions/api_test/tabs/get_current/test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698