mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-27 03:22:15 +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>\"");
|
|
}
|