TypeScript/tests/cases/fourslash/toggleLineComment5.ts
2020-05-22 16:46:33 -07:00

22 lines
364 B
TypeScript

// Comments inside strings are still considered comments.
//// let var1 = `
//// //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 = \`
//some string
//some other string
\`;`);