Skip to content

Commit 7eb2fae

Browse files
committed
Fix closure parameters test
1 parent 3411f31 commit 7eb2fae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tests/SourceKitLSPTests/InlayHintsTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ final class InlayHintsTests: XCTestCase {
181181
"""
182182
let hints = performInlayHintsRequest(text: text)
183183
XCTAssertEqual(hints, [
184+
InlayHint(
185+
position: Position(line: 2, utf16index: 5),
186+
category: .type,
187+
label: "(Int) -> ()"
188+
),
184189
InlayHint(
185190
position: Position(line: 3, utf16index: 31),
186191
category: .type,

0 commit comments

Comments
 (0)