2018-01-09 03:57:46 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////declare const x: { "foo ": "space in the name", };
|
2018-02-05 20:20:22 +01:00
|
|
|
////x[|.fo/*0*/|];
|
|
|
|
////x[|./*1*/|]
|
|
|
|
////unrelatedIdentifier;
|
2018-01-09 03:57:46 +01:00
|
|
|
|
2018-02-05 20:20:22 +01:00
|
|
|
const [r0, r1] = test.ranges();
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{
|
|
|
|
marker: "0",
|
|
|
|
exact: [{ name: "foo ", insertText: '["foo "]', replacementSpan: r0 }],
|
|
|
|
preferences: { includeInsertTextCompletions: true },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
marker: "1",
|
|
|
|
exact: [{ name: "foo ", insertText: '["foo "]', replacementSpan: r1 }],
|
|
|
|
preferences: { includeInsertTextCompletions: true },
|
|
|
|
},
|
|
|
|
);
|