Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
module pref
import os
fn test_detect_vroot_from_subdir() {
vroot := @VMODROOT
v3_dir := os.join_path(vroot, 'vlib', 'v3')
assert detect_vroot_from(v3_dir) == vroot
}
fn test_detect_vroot_from_binary_path() {
vroot := @VMODROOT
v3_bin := os.join_path(vroot, 'vlib', 'v3', 'v3')
assert detect_vroot_from(v3_bin) == vroot
}