aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
12
akode-rs/user-verification/src/key_namespace_tests.rs
Normal file
12
akode-rs/user-verification/src/key_namespace_tests.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
//! Account-user identities share one service scope without exposing raw identifiers.
|
||||
|
||||
use super::*;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn namespaces_are_stable_and_separate_accounts() {
|
||||
let first = UserVerificationKeyNamespace::new("account-user-one");
|
||||
assert_eq!(first, UserVerificationKeyNamespace::new("account-user-one"));
|
||||
assert_ne!(first, UserVerificationKeyNamespace::new("account-user-two"));
|
||||
assert!(!first.label.contains("account-user-one"));
|
||||
}
|
||||
Reference in New Issue
Block a user