diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-11 12:30:03 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-06-11 12:30:03 +0200 |
| commit | 777e68de5464ad5bf7deb1c7016410bc9f775beb (patch) | |
| tree | b1c95d5dd6ea663ccd6e6a0e61653ef9251125f5 /src/testing | |
| parent | 4edb575d81c4307720787bae5bb8f25c06ad221d (diff) | |
| parent | 1a24f35c3bd943442b2569f93e38da13f2dda2e2 (diff) | |
Merge branch 'master' of github.com:DanielGavin/ols
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/testing.odin | 4 |
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 +} |