Skip to content

Commit 75b364d

Browse files
committed
adapt to code change.
1 parent 66adae9 commit 75b364d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/cases/fourslash/completionForStringLiteralNonrelativeImport16.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@
1919
// @Filename: some/path/whatever.ts
2020
//// export var x = 9;
2121

22-
verify.completions({ marker: ["first"], exact: ["test0", "some", "module1/path1"], isNewIdentifierLocation: true });
22+
verify.completions({ marker: ["first"], exact: ["test0", "some", {
23+
name: "module1/path1",
24+
replacementSpan: {
25+
fileName: "foo",
26+
pos: 23,
27+
end: 24
28+
}
29+
}], isNewIdentifierLocation: true });
30+
2331
verify.completions({
2432
marker: ["second"], exact: [{
2533
name: "module1/path1",
@@ -28,5 +36,5 @@ verify.completions({
2836
pos: 48,
2937
end: 58
3038
}
31-
},], isNewIdentifierLocation: true
39+
}], isNewIdentifierLocation: true
3240
});

0 commit comments

Comments
 (0)