Skip to content

Commit 2e9055e

Browse files
committed
fix
1 parent f50a91d commit 2e9055e

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

internal/fourslash/tests/signatureHelpApplicableRange_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestSignatureHelpApplicableRangeBasic(t *testing.T) {
2626
let s =/*a*/ /*b*/obj/*c*/./*d*/foo/*e*/(/*1*/"Hello, world!"/*2*/)/*3*/
2727
/*4*/;`
2828
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
29-
29+
3030
// Use VerifyBaselineSignatureHelp to check behavior at all markers
3131
f.VerifyBaselineSignatureHelp(t)
3232
}
@@ -40,7 +40,7 @@ func TestSignatureHelpNestedCalls(t *testing.T) {
4040
function bar(s: string) { return s; }
4141
let s = foo(/*a*//*b*/bar/*c*/(/*d*/"hello"/*e*/)/*f*/);`
4242
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
43-
43+
4444
// Use VerifyBaselineSignatureHelp to check behavior at all markers
4545
f.VerifyBaselineSignatureHelp(t)
4646
}

testdata/baselines/reference/fourslash/signatureHelp/signatureHelpApplicableRangeBasic.baseline

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@
123123
{
124124
"label": "s: string"
125125
}
126-
]
126+
],
127+
"activeParameter": 0
127128
}
128129
],
129-
"activeSignature": 0,
130-
"activeParameter": 0
130+
"activeSignature": 0
131131
}
132132
},
133133
{
@@ -148,11 +148,11 @@
148148
{
149149
"label": "s: string"
150150
}
151-
]
151+
],
152+
"activeParameter": 0
152153
}
153154
],
154-
"activeSignature": 0,
155-
"activeParameter": 0
155+
"activeSignature": 0
156156
}
157157
},
158158
{

testdata/baselines/reference/fourslash/signatureHelp/signatureHelpNestedCalls.baseline

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
{
4747
"label": "s: string"
4848
}
49-
]
49+
],
50+
"activeParameter": 0
5051
}
5152
],
52-
"activeSignature": 0,
53-
"activeParameter": 0
53+
"activeSignature": 0
5454
}
5555
},
5656
{
@@ -71,11 +71,11 @@
7171
{
7272
"label": "s: string"
7373
}
74-
]
74+
],
75+
"activeParameter": 0
7576
}
7677
],
77-
"activeSignature": 0,
78-
"activeParameter": 0
78+
"activeSignature": 0
7979
}
8080
},
8181
{
@@ -96,11 +96,11 @@
9696
{
9797
"label": "s: string"
9898
}
99-
]
99+
],
100+
"activeParameter": 0
100101
}
101102
],
102-
"activeSignature": 0,
103-
"activeParameter": 0
103+
"activeSignature": 0
104104
}
105105
},
106106
{
@@ -121,11 +121,11 @@
121121
{
122122
"label": "s: string"
123123
}
124-
]
124+
],
125+
"activeParameter": 0
125126
}
126127
],
127-
"activeSignature": 0,
128-
"activeParameter": 0
128+
"activeSignature": 0
129129
}
130130
},
131131
{
@@ -146,11 +146,11 @@
146146
{
147147
"label": "s: string"
148148
}
149-
]
149+
],
150+
"activeParameter": 0
150151
}
151152
],
152-
"activeSignature": 0,
153-
"activeParameter": 0
153+
"activeSignature": 0
154154
}
155155
},
156156
{
@@ -171,11 +171,11 @@
171171
{
172172
"label": "s: string"
173173
}
174-
]
174+
],
175+
"activeParameter": 0
175176
}
176177
],
177-
"activeSignature": 0,
178-
"activeParameter": 0
178+
"activeSignature": 0
179179
}
180180
}
181181
]

0 commit comments

Comments
 (0)