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

Unified Diff: test/mjsunit/es6/function-name.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
« no previous file with comments | « test/cctest/compiler/test-run-jscalls.cc ('k') | test/mjsunit/harmony/async-await-basic.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/function-name.js
diff --git a/test/mjsunit/es6/function-name.js b/test/mjsunit/es6/function-name.js
index 152a63145d68b429a21409c3d5a54acddc8380d4..0fcab441ed6ea6bc173c37159a02bc6226d0f12c 100644
--- a/test/mjsunit/es6/function-name.js
+++ b/test/mjsunit/es6/function-name.js
@@ -357,10 +357,10 @@
(function testNameNotReflectedInToString() {
- var f = function() {};
- var g = function*() {};
+ var f = function () {};
+ var g = function* () {};
var obj = {
- ['h']: function() {},
+ ['h']: function () {},
i: () => {}
};
assertEquals('function () {}', f.toString());
« no previous file with comments | « test/cctest/compiler/test-run-jscalls.cc ('k') | test/mjsunit/harmony/async-await-basic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698