Skip to content

Commit dcc28f0

Browse files
committed
Update tests for rust-lang/rust#34485
1 parent bafe1e5 commit dcc28f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ fn it_works() {
321321
let buffer: [u8; 10] = s.clone().into_buffer();
322322
assert_eq!(&buffer, b"a\xC3\xA9~~~_ell");
323323
assert_eq!(format!("{}", s), "aé~~~_");
324-
assert_eq!(format!("{:?}", s), r#""a\u{e9}~~~_""#);
324+
assert_eq!(format!("{:?}", s), r#""~~~_""#);
325325

326326
assert_eq!(s.push_partial_str("ô!?"), Err(3));
327327
assert_eq!(&*s, "aé~~~_ô!");

0 commit comments

Comments
 (0)