From ce51b79a37f61b56c40cdac489c815a792ad445f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zadro=C5=BCny?= Date: Wed, 4 Dec 2024 21:09:47 +0100 Subject: [PATCH] Fix the unused variable errors --- tests/core/strings/test_core_strings.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/strings/test_core_strings.odin b/tests/core/strings/test_core_strings.odin index 0304ec226..44c79ce73 100644 --- a/tests/core/strings/test_core_strings.odin +++ b/tests/core/strings/test_core_strings.odin @@ -49,13 +49,13 @@ test_index_multi_overlapping_substrs :: proc(t: ^testing.T) { @test test_index_multi_not_found :: proc(t: ^testing.T) { - index, width := strings.index_multi("some example text", {"ey", "tey"}) + index, _ := strings.index_multi("some example text", {"ey", "tey"}) testing.expect_value(t, index, -1) } @test test_index_multi_with_empty_string :: proc(t: ^testing.T) { - index, width := strings.index_multi("some example text", {"ex", ""}) + index, _ := strings.index_multi("some example text", {"ex", ""}) testing.expect_value(t, index, -1) }