mirror of https://github.com/tc39/test262.git
add line feed following `{` of F.p.toString output for dynamic functions (#847)
This is a continuation of 4a5c52beb5
.
This commit is contained in:
parent
8a0563dd5e
commit
4203261ba2
|
@ -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}");
|
||||
|
|
Loading…
Reference in New Issue