What's with the namespacing on the unit tests ?

This commit is contained in:
Neven Villani 2025-06-11 22:43:14 +02:00 committed by Neven Villani
parent 407b006dc6
commit 3292aeaaa1
2 changed files with 5 additions and 3 deletions

View File

@ -485,14 +485,14 @@ This is never reached.
#import "#test/mypkg:1.0.0": * #import "#test/mypkg:1.0.0": *
--- import-from-package-namespace-not-found --- --- import-from-package-namespace-not-found ---
// Error: todo // Error: 9-33 package not found
#import "@missingdir/test:0.0.0": * #import "@missingdir/test:0.0.0": *
--- import-from-package-not-found --- --- import-from-package-not-found ---
// Error: todo // Error: 9-33 package not found
#import "@test/missingpkg:0.0.0": * #import "@test/missingpkg:0.0.0": *
--- import-from-package-version-not-found --- --- import-from-package-version-not-found ---
// Error: todo // Error: 9-28 package not found
#import "@test/mypkg:5.0.0": * #import "@test/mypkg:5.0.0": *

2
tests/testit Normal file
View File

@ -0,0 +1,2 @@
alias testit="cargo test --workspace --test tests --"