Skip to content

Commit fe13cdc

Browse files
committed
Updated a few baselines
1 parent 78cdb2d commit fe13cdc

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

tests/baselines/reference/templateStringWithEmbeddedCommentsES6.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,14 @@ middle${
1313
tail`;
1414

1515
//// [templateStringWithEmbeddedCommentsES6.js]
16-
"head" + 10 + "\nmiddle" + 20 + "\ntail";
16+
`head${ // single line comment
17+
10}
18+
middle${
19+
/* Multi-
20+
* line
21+
* comment
22+
*/
23+
20
24+
// closing comment
25+
}
26+
tail`;

tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function* gen {
66

77

88
//// [templateStringWithEmbeddedYieldKeyword.js]
9-
function gen() {
9+
function* gen() {
1010
// Once this is supported, yield *must* be parenthesized.
1111
var x = "abc" + (yield 10) + "def";
1212
}

0 commit comments

Comments
 (0)