mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-11 10:32:54 +03:00
8 lines
176 B
Rust
8 lines
176 B
Rust
use gitbutler_secret::Sensitive;
|
|
|
|
#[test]
|
|
fn sensitive_does_not_debug_print_itself() {
|
|
let s = Sensitive("password");
|
|
assert_eq!(format!("{s:?}"), "\"<redacted>\"");
|
|
}
|