initial skeleton
This commit is contained in:
parent
dc79fa2448
commit
71f89dde9c
60 changed files with 3480 additions and 0 deletions
8
crates/aim-core/tests/install_scope.rs
Normal file
8
crates/aim-core/tests/install_scope.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use aim_core::app::scope::{ScopeOverride, resolve_install_scope};
|
||||
use aim_core::domain::app::InstallScope;
|
||||
|
||||
#[test]
|
||||
fn explicit_scope_override_beats_effective_user() {
|
||||
let scope = resolve_install_scope(false, ScopeOverride::System);
|
||||
assert_eq!(scope, InstallScope::System);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue