2018-06-01 17:23:37 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /src/foo/x.ts
|
|
|
|
////
|
|
|
|
|
2018-06-27 01:55:51 +02:00
|
|
|
// @Filename: /src/old.ts
|
2018-06-01 17:23:37 +02:00
|
|
|
////import { x } from "./foo/x";
|
|
|
|
|
|
|
|
verify.getEditsForFileRename({
|
|
|
|
oldPath: "/src/old.ts",
|
|
|
|
newPath: "/src/foo/new.ts",
|
|
|
|
newFileContents: {
|
2018-06-27 01:55:51 +02:00
|
|
|
"/src/old.ts":
|
2018-06-01 17:23:37 +02:00
|
|
|
`import { x } from "./x";`,
|
|
|
|
},
|
|
|
|
});
|