add line feed following `{` of F.p.toString output for dynamic functions (#847)

This is a continuation of 4a5c52beb5.
This commit is contained in:
Josh Wolfe 2017-02-07 09:06:37 -07:00 committed by Leo Balter
parent 8a0563dd5e
commit 4203261ba2
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ features: [async-functions]
async function f() {}
var AsyncFunction = f.constructor;
var g = /* before */AsyncFunction("a", " /* a */ b, c /* b */ //", "/* c */ ; /* d */ //")/* after */;
assert.sameValue(g.toString(), "async function anonymous(a, /* a */ b, c /* b */ //\n) {/* c */ ; /* d */ //\n}");
assert.sameValue(g.toString(), "async function anonymous(a, /* a */ b, c /* b */ //\n) {\n/* c */ ; /* d */ //\n}");