Skip to content
This repository was archived by the owner on Jan 21, 2023. It is now read-only.

Commit e10bfeb

Browse files
committed
Update tests for rust-lang/rust#34485
1 parent b1a1240 commit e10bfeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

string-wrapper/lib.rs

Lines changed: 1 addition & 1 deletion
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)