From e10bfebe1c355a5c278e906f6c30de871ceda2d6 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 2 Aug 2016 18:44:12 +0200 Subject: [PATCH] Update tests for https://github.com/rust-lang/rust/pull/34485 --- string-wrapper/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string-wrapper/lib.rs b/string-wrapper/lib.rs index 24c0df9..0703566 100644 --- a/string-wrapper/lib.rs +++ b/string-wrapper/lib.rs @@ -321,7 +321,7 @@ fn it_works() { let buffer: [u8; 10] = s.clone().into_buffer(); assert_eq!(&buffer, b"a\xC3\xA9~~~_ell"); assert_eq!(format!("{}", s), "aé~~~_"); - assert_eq!(format!("{:?}", s), r#""a\u{e9}~~~_""#); + assert_eq!(format!("{:?}", s), r#""aé~~~_""#); assert_eq!(s.push_partial_str("ô!?"), Err(3)); assert_eq!(&*s, "aé~~~_ô!");