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

Side by Side Diff: LayoutTests/fast/js/script-tests/function-toString-semicolon-insertion.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 description(
2 "This test checks that functions re-string-ify in a way that is syntactically " +
3 "compatible with concatenation."
4 );
5
6 shouldBe("(function(){return}).toString()", "'function () {return;}'");
7 shouldBe("(function(){return }).toString()", "'function () {return; }'");
8 shouldBe("(function(){return" + "\n" + "}).toString()", "'function () {return;" + "\\n" + "}'");
9 shouldBe("(function(){}).toString()", "'function () {}'");
10 shouldBe("(function(){ }).toString()", "'function () { }'");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698