From 49e0de991d2d82941726e4c3c376fa94a7075446 Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Thu, 29 Sep 2016 16:16:54 -0700 Subject: [PATCH] Fix tests --- .../tripleSlashRefPathBackandForwardSlash.ts | 3 ++- .../fourslash/tripleSlashRefPathHiddenFile.ts | 2 +- .../fourslash/tripleSlashRefPathRelativePaths.ts | 16 ++++++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts b/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts index c7cae3c4a45..838dce4479c 100644 --- a/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts +++ b/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts @@ -69,5 +69,6 @@ function testBlock(offset: number, fileName: string, dir: string) { } goTo.marker("" + (offset + 3)); - verify.not.completionListItemsCountIsGreaterThan(0); + verify.completionListContains(fileName); + verify.not.completionListItemsCountIsGreaterThan(1); } diff --git a/tests/cases/fourslash/tripleSlashRefPathHiddenFile.ts b/tests/cases/fourslash/tripleSlashRefPathHiddenFile.ts index aa9a87b5e07..125a97cecf7 100644 --- a/tests/cases/fourslash/tripleSlashRefPathHiddenFile.ts +++ b/tests/cases/fourslash/tripleSlashRefPathHiddenFile.ts @@ -17,7 +17,7 @@ for(let m of ["0", "2", "3"]) { goTo.marker(m); verify.completionListContains("f.ts"); verify.completionListContains(".hidden.ts"); - verify.not.completionListItemsCountIsGreaterThan(3); + verify.not.completionListItemsCountIsGreaterThan(2); } goTo.marker("1"); diff --git a/tests/cases/fourslash/tripleSlashRefPathRelativePaths.ts b/tests/cases/fourslash/tripleSlashRefPathRelativePaths.ts index 82908f246a5..05863b4f651 100644 --- a/tests/cases/fourslash/tripleSlashRefPathRelativePaths.ts +++ b/tests/cases/fourslash/tripleSlashRefPathRelativePaths.ts @@ -19,9 +19,10 @@ //// ///