diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-04-03 11:40:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-03 11:40:01 +0100 |
| commit | e42b16b106080a376e80ead806469faaebf09b85 (patch) | |
| tree | 707590b3cbecb0eb106df3e8c706585142fb9806 /tests | |
| parent | a1d94423808ad197cc8e16c0add50edd5b6c92f4 (diff) | |
| parent | 3a0df800664105f5944ad9e0230debe3a3207969 (diff) | |
Merge pull request #3366 from laytan/fix-vet-scope-bug
fix vet scope bug skipping some scopes
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/image/test_core_image.odin | 4 | ||||
| -rw-r--r-- | tests/internal/test_map.odin | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/core/image/test_core_image.odin b/tests/core/image/test_core_image.odin index 54b3608b7..ae92ca617 100644 --- a/tests/core/image/test_core_image.odin +++ b/tests/core/image/test_core_image.odin @@ -1580,7 +1580,7 @@ run_png_suite :: proc(t: ^testing.T, suite: []PNG_Test) -> (subtotal: int) { { // Roundtrip through PBM to test the PBM encoders and decoders - prefer ASCII - pbm_info, pbm_format_selected := pbm.autoselect_pbm_format_from_image(img, false) + pbm_info, _ := pbm.autoselect_pbm_format_from_image(img, false) // We already tested the binary formats above. if pbm_info.header.format in pbm.ASCII { @@ -1912,4 +1912,4 @@ run_png_suite :: proc(t: ^testing.T, suite: []PNG_Test) -> (subtotal: int) { } return -}
\ No newline at end of file +} diff --git a/tests/internal/test_map.odin b/tests/internal/test_map.odin index 2c808d85e..7d1dbf470 100644 --- a/tests/internal/test_map.odin +++ b/tests/internal/test_map.odin @@ -32,7 +32,7 @@ map_insert_random_key_value :: proc(t: ^testing.T) { } key_count := 0 - for k in m { + for _ in m { key_count += 1 } @@ -82,7 +82,7 @@ map_update_random_key_value :: proc(t: ^testing.T) { } key_count := 0 - for k in m { + for _ in m { key_count += 1 } @@ -144,7 +144,7 @@ map_delete_random_key_value :: proc(t: ^testing.T) { } key_count := 0 - for k in m { + for _ in m { key_count += 1 } @@ -220,7 +220,7 @@ set_insert_random_key_value :: proc(t: ^testing.T) { } key_count := 0 - for k in m { + for _ in m { key_count += 1 } @@ -268,7 +268,7 @@ set_delete_random_key_value :: proc(t: ^testing.T) { } key_count := 0 - for k in m { + for _ in m { key_count += 1 } @@ -379,4 +379,4 @@ when ODIN_TEST { fmt.printf("[%v] ", loc) fmt.printf("log: %v\n", v) } -}
\ No newline at end of file +} |