TypeScript/tests/cases/fourslash/importNameCodeFixReExport.ts
Andy d96dfeb708 Don't normalize whitespace in fourslash tests (#18447)
* Don't normalize whitespace in fourslash tests

* Only render whitespace when the diff is text-only
2017-09-14 08:23:50 -07:00

18 lines
374 B
TypeScript

/// <reference path='fourslash.ts' />
// Test that we are not fooled by a re-export existing in the file already
// @Filename: /a.ts
////export const x = 0";
// @Filename: /b.ts
////[|export { x } from "./a";
////x;|]
goTo.file("/b.ts");
// TODO:GH#18445
verify.rangeAfterCodeFix(`import { x } from "./a";\r
\r
export { x } from "./a";
x;`, /*includeWhiteSpace*/ true);