From 65503edb4e61e66819d93620b0238d8f8579d6cf Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 10 Jun 2024 12:33:07 +0300 Subject: [PATCH] ci: make vmodules_overrides_test.v failures more informative --- vlib/v/tests/multiple_paths_in_vmodules/main.vv | 4 ++-- .../multiple_paths_in_vmodules/vmodules_overrides_test.v | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vlib/v/tests/multiple_paths_in_vmodules/main.vv b/vlib/v/tests/multiple_paths_in_vmodules/main.vv index 2fae430d1..591311f6b 100644 --- a/vlib/v/tests/multiple_paths_in_vmodules/main.vv +++ b/vlib/v/tests/multiple_paths_in_vmodules/main.vv @@ -4,6 +4,6 @@ import zzz fn main() { all := [xxx.f(), yyy.f(), zzz.f()] - println(all) - assert all == ['x','y','z'] + println(all) + assert all == ['x', 'y', 'z'] } diff --git a/vlib/v/tests/multiple_paths_in_vmodules/vmodules_overrides_test.v b/vlib/v/tests/multiple_paths_in_vmodules/vmodules_overrides_test.v index 0de303c2b..bb1119fd4 100644 --- a/vlib/v/tests/multiple_paths_in_vmodules/vmodules_overrides_test.v +++ b/vlib/v/tests/multiple_paths_in_vmodules/vmodules_overrides_test.v @@ -30,6 +30,7 @@ fn test_compiling_with_vmodules_works() { os.chdir(vroot) or {} vmpaths := ['path1', 'path2', 'path3'].map(os.join_path(basepath, it)) os.setenv('VMODULES', vmpaths.join(os.path_delimiter), true) + dump(os.getenv('VMODULES')) dump(cmd) res := os.execute(cmd) assert res.exit_code == 0, res.output -- 2.39.5