From 37b739849dadc244d3e5ade98b1ccf0bf8a929d6 Mon Sep 17 00:00:00 2001 From: kbkpbot Date: Thu, 8 Jan 2026 22:10:31 +0800 Subject: [PATCH] tests: make os.vv list the contents of the doc/ folder, instead of the vroot one (fix #26291) (#26292) --- vlib/v/slow_tests/inout/os.out | 11 +++++------ vlib/v/slow_tests/inout/os.vv | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/vlib/v/slow_tests/inout/os.out b/vlib/v/slow_tests/inout/os.out index 2183959e0..c5be372b6 100644 --- a/vlib/v/slow_tests/inout/os.out +++ b/vlib/v/slow_tests/inout/os.out @@ -1,6 +1,5 @@ -CHANGELOG.md -CODE_OF_CONDUCT.md -CONTRIBUTING.md -README.md -ROADMAP.md -TESTS.md +c_and_v_type_interoperability.md +docs.md +packaging_v_for_distributions.md +upcoming.md +vscode.md diff --git a/vlib/v/slow_tests/inout/os.vv b/vlib/v/slow_tests/inout/os.vv index 9d8d42336..e67b5b67d 100644 --- a/vlib/v/slow_tests/inout/os.vv +++ b/vlib/v/slow_tests/inout/os.vv @@ -2,8 +2,8 @@ import os fn main() { vexe := os.getenv('VEXE') - vroot := os.dir(vexe) - mut files := os.ls(vroot) or { panic(err) } + vroot_doc := os.dir(vexe) + '/doc' + mut files := os.ls(vroot_doc) or { panic(err) } files.sort() for file in files { if file.ends_with('.md') { -- 2.39.5