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

Unified Diff: test/webkit/fast/js/basic-strict-mode.js

Issue 2161413002: Adjust whitespace to make tests oblivious to --harmony-function-tostring (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
Index: test/webkit/fast/js/basic-strict-mode.js
diff --git a/test/webkit/fast/js/basic-strict-mode.js b/test/webkit/fast/js/basic-strict-mode.js
index 2f7a319bc4f1f2cc8ed5ad577a60c70d2c935cdc..027af0f1525b1db90873b55a46161a98978d3ad6 100644
--- a/test/webkit/fast/js/basic-strict-mode.js
+++ b/test/webkit/fast/js/basic-strict-mode.js
@@ -41,7 +41,7 @@ function testGlobalAccess() {
}
function shouldBeSyntaxError(str) {
shouldThrow(str);
- shouldThrow("(function(){" + str + "})");
+ shouldThrow("(function (){" + str + "})");
}
function testLineContinuation() {
"use stric\
« no previous file with comments | « test/webkit/dfg-resolve-global-specific-dictionary.js ('k') | test/webkit/fast/js/basic-strict-mode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698