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

Unified Diff: test/webkit/fast/js/function-toString-semicolon-insertion.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/function-toString-semicolon-insertion.js
diff --git a/test/webkit/fast/js/function-toString-semicolon-insertion.js b/test/webkit/fast/js/function-toString-semicolon-insertion.js
index fa89b918df685f949f179e05eb6bfd51657ab225..508168875b9d12989fe1be139f6e46503c1170f9 100644
--- a/test/webkit/fast/js/function-toString-semicolon-insertion.js
+++ b/test/webkit/fast/js/function-toString-semicolon-insertion.js
@@ -26,8 +26,8 @@ description(
"compatible with concatenation."
);
-shouldBe("(function(){return}).toString()", "'function () {return;}'");
-shouldBe("(function(){return }).toString()", "'function () {return; }'");
-shouldBe("(function(){return" + "\n" + "}).toString()", "'function () {return;" + "\\n" + "}'");
-shouldBe("(function(){}).toString()", "'function () {}'");
-shouldBe("(function(){ }).toString()", "'function () { }'");
+shouldBe("(function (){return}).toString()", "'function () {return;}'");
+shouldBe("(function (){return }).toString()", "'function () {return; }'");
+shouldBe("(function (){return" + "\n" + "}).toString()", "'function () {return;" + "\\n" + "}'");
+shouldBe("(function (){}).toString()", "'function () {}'");
+shouldBe("(function (){ }).toString()", "'function () { }'");

Powered by Google App Engine
This is Rietveld 408576698