From 1a24f35c3bd943442b2569f93e38da13f2dda2e2 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Wed, 8 Jun 2022 18:22:32 +0200 Subject: Fix test compile error --- src/testing/testing.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testing') 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 +} -- cgit v1.2.3