Skip to content

Commit 5ccd4c6

Browse files
flipped condition oops
1 parent 9a0a7e3 commit 5ccd4c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/sys_common/wtf8/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ fn wobbled_wtf8_plus_str_isnt_utf8() {
745745
#[test]
746746
fn unwobbly_wtf8_plus_utf8_is_utf8() {
747747
let mut string: Wtf8Buf = Wtf8Buf::from_str("hello world");
748-
assert!(!string.is_known_utf8);
748+
assert!(string.is_known_utf8);
749749
string.push_str("some utf-8");
750-
assert!(!string.is_known_utf8);
750+
assert!(string.is_known_utf8);
751751
}

0 commit comments

Comments
 (0)