From f0e5056063752d9a9abb3a0fcf722caded105b93 Mon Sep 17 00:00:00 2001 From: Benjamin Lichtman Date: Fri, 29 Jun 2018 11:33:16 -0700 Subject: [PATCH] Add test --- ...OutliningSpansForRegionsNoSingleLineFolds.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts diff --git a/tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts b/tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts new file mode 100644 index 00000000000..c2ee165e919 --- /dev/null +++ b/tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts @@ -0,0 +1,17 @@ +////[|//#region +////function foo()[| { +//// +////}|] +////[|//these +//////should|] +//////#endregion not you|] +////[|// be +////// together|] +//// +////[|//#region bla bla bla +//// +////function bar()[| { }|] +//// +//////#endregion|] + +verify.outliningSpansInCurrentFile(test.ranges()); \ No newline at end of file