v0.2.5-pre.004-fix.002
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-wallet-lib/tests/dependency_boundary.rs
|
||||
// version: 5
|
||||
// version: 6
|
||||
|
||||
//! Wallet-specific dependency and ownership canaries.
|
||||
|
||||
@@ -81,6 +81,7 @@ fn wallet_sources_use_core_pubkey_logging_facade_and_no_environment() -> std::io
|
||||
assert!(all_source.contains("pub(crate) const TRACING_TARGET: &str = \"ksp-wallet-lib\";"));
|
||||
assert!(!all_source.contains("solana_pubkey::"));
|
||||
assert!(!all_source.contains("std::env::"));
|
||||
assert!(!all_source.contains("tracing::"));
|
||||
let direct_tracing_path = ["tracing", "::"].concat();
|
||||
assert!(!all_source.contains(direct_tracing_path.as_str()));
|
||||
return std::result::Result::Ok(());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user