Skip to content

Commit ea3d140

Browse files
committed
ci: fix failing -Werror job with tcc
1 parent 9ea88c0 commit ea3d140

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cmd/tools/vtest-self.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const (
3333
]
3434
skip_with_fsanitize_undefined = []string{}
3535
skip_with_werror = [
36-
'vlib/builtin/array_test.v',
36+
'vlib/sync/array_rlock_test.v',
3737
'vlib/clipboard/clipboard_test.v',
3838
'vlib/dl/dl_test.v',
3939
'vlib/dl/example/use_test.v',

vlib/builtin/array_test.v

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,8 +1064,10 @@ fn test_array_int_pop() {
10641064
z := a.pop()
10651065
assert a.len == 3
10661066
assert z == 4
1067-
a.pop()
1068-
a.pop()
1067+
x1 := a.pop()
1068+
x2 := a.pop()
1069+
dump(x1)
1070+
dump(x2)
10691071
final := a.pop()
10701072
assert final == 1
10711073
}

0 commit comments

Comments
 (0)