Skip to content

Commit 6f863f2

Browse files
authored
Update details for Find All References test (#1599)
There are now 3 references in the project for the symbol `a` so update the test text to match what the test actually checks for to avoid any confusion when the test fails. Issue: #1541
1 parent 75dd9fd commit 6f863f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration-tests/language/LanguageClientIntegration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ suite("Language Client Integration Suite @slow", function () {
103103
position
104104
);
105105

106-
// We expect 2 references - one in `main.swift` and one in `PackageLib.swift`
106+
// We expect 3 references - in `main.swift`, in `PackageLib.swift` and in `hello.swift`
107107
expect(referenceLocations).to.have.lengthOf(
108108
3,
109-
"There should be two references to 'a'."
109+
"There should be three references to 'a'."
110110
);
111111

112112
// Extract reference URIs and sort them to have a predictable order

0 commit comments

Comments
 (0)