Skip to content

Commit a266131

Browse files
author
Benjamin Lichtman
committed
Add test
1 parent 6c34520 commit a266131

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/cases/fourslash/getOutliningSpans.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,18 @@
9696
//////outline after a deeply nested node
9797
////class AfterNestedNodes[| {
9898
////}|]
99+
////// function arguments
100+
////function f(x: number[], y: number[])[| {
101+
//// return 3;
102+
////}|]
103+
////f(
104+
////// single line array literal span won't render in VS
105+
//// [|[0]|],
106+
//// [|[
107+
//// 1,
108+
//// 2
109+
//// ]|]
110+
////);
111+
99112

100113
verify.outliningSpansInCurrentFile(test.ranges(), "code");

0 commit comments

Comments
 (0)