From f6ff6bd206283f2e4479f59f841be42fd218593e Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Wed, 28 Sep 2016 16:45:52 -0700 Subject: [PATCH] factor and simplify rel path test --- .../tripleSlashRefPathBackandForwardSlash.ts | 73 +++++++++ .../tripleSlashRefPathCompletionsNarrow.ts | 21 +++ .../fourslash/tripleSlashRefPathHiddenFile.ts | 9 +- .../tripleSlashRefPathRelativePaths.ts | 143 ++++++------------ 4 files changed, 145 insertions(+), 101 deletions(-) create mode 100644 tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts create mode 100644 tests/cases/fourslash/tripleSlashRefPathCompletionsNarrow.ts diff --git a/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts b/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts new file mode 100644 index 00000000000..c7cae3c4a45 --- /dev/null +++ b/tests/cases/fourslash/tripleSlashRefPathBackandForwardSlash.ts @@ -0,0 +1,73 @@ +/// + +// Exercises completions for hidden files (ie: those beginning with '.') + +// @Filename: f.ts +//// /*f1*/ +// @Filename: d1/g.ts +//// /*g1*/ +// @Filename: d1/d2/h.ts +//// /*h1*/ +// @Filename: d1/d2/d3/i.ts +//// /// + +// Exercises relative path completions going up and down 2 directories +// and the use of forward- and back-slashes and combinations thereof. + +// @Filename: f1.ts +//// /*f1*/ +// @Filename: f2.ts +//// /*f2*/ + +// @Filename: test.ts +//// ///