diff options
Diffstat (limited to 'src/rust/tor_util/strings.rs')
-rw-r--r-- | src/rust/tor_util/strings.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/tor_util/strings.rs b/src/rust/tor_util/strings.rs index c365564e97..d64275e06b 100644 --- a/src/rust/tor_util/strings.rs +++ b/src/rust/tor_util/strings.rs @@ -131,10 +131,10 @@ mod test { #[test] fn cstr_macro_bad_input() { - let waving: &'static CStr = cstr!("waving not drowning o/"); + let waving: &'static CStr = cstr!("waving not drowning o/"); let drowning: &'static CStr = cstr!("\0 drowning not waving"); - assert!(waving.to_str().unwrap() == "waving not drowning o/"); + assert!(waving.to_str().unwrap() == "waving not drowning o/"); assert!(drowning.to_str().unwrap() == "") } } |