TypeScript/tests/cases/fourslash/toggleLineComment10.ts
2020-05-26 19:26:28 -07:00

11 lines
No EOL
269 B
TypeScript

// Close and open multiline comments if the line already contains more comments.
//@Filename: file.tsx
//// const a = <div>
//// Som[||]e{/* T */}ext
//// </div>;
verify.toggleLineComment(
`const a = <div>
{/*Some*/}{/* T */}{/*ext*/}
</div>;`);