TypeScript/tests/cases/fourslash/toggleMultilineComment9.ts
2020-07-10 17:44:02 -07:00

30 lines
426 B
TypeScript

// When there's is only whitespace, insert comment. If there is whitespace but theres a comment in bewteen, then uncomment.
//// /*let var1[| = 1;*/
//// |]
////
//// [|
//// /*let var2 = 2;*/|]
////
//// [|
////
//// |]
////
//// [||]
////
//// let var3[||] = 3;
verify.toggleMultilineComment(
`let var1 = 1;
let var2 = 2;
/*
*/
/**/
let var3/**/ = 3;`);