Skip to content

Commit c2cba46

Browse files
committed
Fix
1 parent 0cd4c68 commit c2cba46

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

internal/fourslash/tests/signatureHelpApplicableRange_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ func TestSignatureHelpApplicableRange(t *testing.T) {
1919
2020
let s =/*a*/ obj.foo("Hello, world!")/*b*/
2121
/*c*/;`
22-
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
22+
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
23+
defer done()
2324

2425
// Markers a, b, c should NOT show signature help (outside the call)
2526
f.VerifyNoSignatureHelpForMarkers(t, "a", "b", "c")

internal/fourslash/tests/signatureHelpNestedCalls_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ func TestSignatureHelpNestedCalls(t *testing.T) {
1414
const content = `function foo(s: string) { return s; }
1515
function bar(s: string) { return s; }
1616
let s = foo(/*a*/ /*b*/bar/*c*/(/*d*/"hello"/*e*/)/*f*/);`
17-
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
17+
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
18+
defer done()
1819

1920
// Markers a, b, c should show foo (outer call)
2021
f.GoToMarker(t, "a")

0 commit comments

Comments
 (0)