aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2022-06-08 18:22:32 +0200
committerGitHub <noreply@github.com>2022-06-08 18:22:32 +0200
commit1a24f35c3bd943442b2569f93e38da13f2dda2e2 (patch)
treec0f45b1c75ee1ce0d7703c8737c21ad733490730 /src/testing
parent532a94219181b52ebf58a4400804deda17517ba4 (diff)
Fix test compile error
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index a824d87..8864404 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -240,7 +240,7 @@ expect_hover :: proc(t: ^testing.T, src: ^Source, expect_hover_string: string) {
setup(src);
defer teardown(src);
- hover, ok := server.get_hover_information(src.document, src.position);
+ hover, _, ok := server.get_hover_information(src.document, src.position);
if !ok {
testing.error(t, "Failed get_hover_information");
@@ -285,4 +285,4 @@ expect_definition_locations :: proc(t: ^testing.T, src: ^Source, expect_location
testing.errorf(t, "Expected location %v, but received %v", expect_locations[i], locations);
}
}
-} \ No newline at end of file
+}