mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix the unused variable errors
This commit is contained in:
@@ -49,13 +49,13 @@ test_index_multi_overlapping_substrs :: proc(t: ^testing.T) {
|
|||||||
|
|
||||||
@test
|
@test
|
||||||
test_index_multi_not_found :: proc(t: ^testing.T) {
|
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)
|
testing.expect_value(t, index, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
@test
|
@test
|
||||||
test_index_multi_with_empty_string :: proc(t: ^testing.T) {
|
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)
|
testing.expect_value(t, index, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user