From 6553413c61a1819229c85334a2b2937b3d0ed83d Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Thu, 29 Sep 2016 17:08:27 -0700 Subject: [PATCH] New Test --- .../tripleSlashRefPathCompletionContext.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/cases/fourslash/tripleSlashRefPathCompletionContext.ts b/tests/cases/fourslash/tripleSlashRefPathCompletionContext.ts index e69de29bb2d..1ee6a666f7c 100644 --- a/tests/cases/fourslash/tripleSlashRefPathCompletionContext.ts +++ b/tests/cases/fourslash/tripleSlashRefPathCompletionContext.ts @@ -0,0 +1,21 @@ +/// + +// Exercises for whether completions are performed depending on where the caret is positioned in the ref comment. + +// @Filename: f.ts +//// /*f*/ + +// @Filename: test.ts +//// /// /*7*/ + +for(let m = 0; m < 8; ++m) { + goTo.marker("" + m); + verify.not.completionListItemsCountIsGreaterThan(0); +} + +for(let m of ["8", "9"]) { + goTo.marker(m); + verify.completionListContains("f.ts"); + verify.not.completionListItemsCountIsGreaterThan(1); +} \ No newline at end of file