TypeScript/tests/cases/fourslash/toggleLineComment5.ts

22 lines
364 B
TypeScript
Raw Normal View History

// Comments inside strings are still considered comments.
//// let var1 = `
2020-02-25 02:24:08 +01:00
//// //some stri[|ng
//// //some other|] string
//// `;
////
//// let var2 = `
//// some stri[|ng
//// some other|] string
//// `;
verify.toggleLineComment(
`let var1 = \`
some string
some other string
\`;
let var2 = \`
2020-02-25 02:24:08 +01:00
//some string
//some other string
\`;`);