From ebad7301f9eb5525eb2df289937656205af823e1 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 27 Jan 2022 13:15:34 +0200 Subject: [PATCH] ci: fix failing deprecated_module test on windows --- cmd/tools/vtest-cleancode.v | 1 + vlib/v/checker/tests/modules/deprecated_module/main.v | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/tools/vtest-cleancode.v b/cmd/tools/vtest-cleancode.v index c2fd460b93..f4a65a12b3 100644 --- a/cmd/tools/vtest-cleancode.v +++ b/cmd/tools/vtest-cleancode.v @@ -25,6 +25,7 @@ const ( 'examples/sokol/04_multi_shader_glsl/rt_glsl.v', 'examples/sokol/05_instancing_glsl/rt_glsl.v', 'examples/sokol/06_obj_viewer/show_obj.v', + 'vlib/v/checker/tests/modules/deprecated_module/main.v' /* adds deprecated_module. module prefix to imports, even though the folder has v.mod */, 'vlib/gg/m4/graphic.v', 'vlib/gg/m4/m4_test.v', 'vlib/gg/m4/matrix.v', diff --git a/vlib/v/checker/tests/modules/deprecated_module/main.v b/vlib/v/checker/tests/modules/deprecated_module/main.v index d90a2b87f2..1164fde86b 100644 --- a/vlib/v/checker/tests/modules/deprecated_module/main.v +++ b/vlib/v/checker/tests/modules/deprecated_module/main.v @@ -1,6 +1,6 @@ -import deprecated_module.bbb.ccc -import deprecated_module.www.ttt -import deprecated_module.xxx.yyy +import bbb.ccc +import www.ttt +import xxx.yyy // NB: www.ttt has been deprecated. // => compiling this should produce an error,