Skip to content

Commit 111b7c5

Browse files
Added test.
1 parent da8fc5d commit 111b7c5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/// <reference path='fourslash.ts'/>
2+
3+
// @strictNullChecks: true
4+
////interface Thing {
5+
//// hello: number;
6+
//// world: string;
7+
////}
8+
////
9+
////declare function funcA(x : Thing): void;
10+
////declare function funcB(x?: Thing): void;
11+
////declare function funcC(x : Thing | null): void;
12+
////declare function funcD(x : Thing | undefined): void;
13+
////declare function funcE(x : Thing | null | undefined): void;
14+
////declare function funcF(x?: Thing | null | undefined): void;
15+
////
16+
////funcA({ /*A*/ });
17+
////funcB({ /*B*/ });
18+
////funcC({ /*C*/ });
19+
////funcD({ /*D*/ });
20+
////funcE({ /*E*/ });
21+
////funcF({ /*F*/ });
22+
23+
24+
for (const marker of test.markers()) {
25+
goTo.position(marker.position);
26+
verify.completionListContains("hello");
27+
verify.completionListContains("world");
28+
}

0 commit comments

Comments
 (0)