Skip to content

Commit 76ce1c6

Browse files
committed
fix test case
1 parent 3b28488 commit 76ce1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cases/fourslash/refactorConvertStringOrTemplateLiteral_ToStringNested.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ edit.applyRefactor({
1010
actionDescription: "Convert to string concatenation",
1111
newContent:
1212
`const age = 42
13-
const·foo·=·"foobar·is·a·"·+·(age·<·18·?·'child'·:·\`grown-up·\${age·>·40·?·'who·needs·probaply·assistance'·:·''}\`)`,
13+
const foo = "foobar is a " + (age < 18 ? 'child' : \`grown-up \${age > 40 ? 'who needs probaply assistance' : ''}\`)`,
1414
});

0 commit comments

Comments
 (0)