Skip to content

Commit 0160c65

Browse files
committed
tests: fix msvc-windows CI failures in coutput_test and waitgroup_test
1 parent e449b50 commit 0160c65

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

vlib/sync/waitgroup_test.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn test_waitgroup_go() {
6363
}
6464

6565
fn test_waitgroup_add_while_waiting() {
66-
for _ in 0 .. 200 {
66+
for _ in 0 .. 50 {
6767
mut wg := new_waitgroup()
6868
ready := chan bool{cap: 1}
6969
release := chan bool{cap: 1}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
VV_LOC int builtin__array_data_header_size(void) {
22
return ((int)(sizeof(voidptr)));
3-
return ((u8*)(raw)) + builtin__array_data_header_size();
4-
return ((ArrayDataHeader*)(base_data - builtin__array_data_header_size()));
3+
+ builtin__array_data_header_size();
4+
base_data - builtin__array_data_header_size()));

0 commit comments

Comments
 (0)