We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0a7e3 commit 5ccd4c6Copy full SHA for 5ccd4c6
library/std/src/sys_common/wtf8/tests.rs
@@ -745,7 +745,7 @@ fn wobbled_wtf8_plus_str_isnt_utf8() {
745
#[test]
746
fn unwobbly_wtf8_plus_utf8_is_utf8() {
747
let mut string: Wtf8Buf = Wtf8Buf::from_str("hello world");
748
- assert!(!string.is_known_utf8);
+ assert!(string.is_known_utf8);
749
string.push_str("some utf-8");
750
751
}
0 commit comments