mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Merge pull request #3366 from laytan/fix-vet-scope-bug
fix vet scope bug skipping some scopes
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user