TypeScript/tests/cases/fourslash/moveToNewFile_rangeSemiValid.ts

20 lines
262 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////[|const x = 0;
////
/////** Comm|]ent */
////const y = 0;
verify.moveToNewFile({
newFileContents: {
"/a.ts":
`/** Comment */
const y = 0;`,
"/x.ts":
`const x = 0;
`,
},
});