From ea3d1405ee713367fbc0ab298495fdf2f01e16ff Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 19 Mar 2021 09:34:41 +0200 Subject: [PATCH] ci: fix failing -Werror job with tcc --- cmd/tools/vtest-self.v | 2 +- vlib/builtin/array_test.v | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/tools/vtest-self.v b/cmd/tools/vtest-self.v index 4b7d236d51..03499c5eaa 100644 --- a/cmd/tools/vtest-self.v +++ b/cmd/tools/vtest-self.v @@ -33,7 +33,7 @@ const ( ] skip_with_fsanitize_undefined = []string{} skip_with_werror = [ - 'vlib/builtin/array_test.v', + 'vlib/sync/array_rlock_test.v', 'vlib/clipboard/clipboard_test.v', 'vlib/dl/dl_test.v', 'vlib/dl/example/use_test.v', diff --git a/vlib/builtin/array_test.v b/vlib/builtin/array_test.v index 19b2201122..d7fc608048 100644 --- a/vlib/builtin/array_test.v +++ b/vlib/builtin/array_test.v @@ -1064,8 +1064,10 @@ fn test_array_int_pop() { z := a.pop() assert a.len == 3 assert z == 4 - a.pop() - a.pop() + x1 := a.pop() + x2 := a.pop() + dump(x1) + dump(x2) final := a.pop() assert final == 1 }