Skip to content

Commit 0685900

Browse files
committed
Fix run-pass/ifmt test
1 parent 34f766e commit 0685900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/run-pass/ifmt.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ pub fn main() {
7070
t!(format!("{}", '☃'), "☃");
7171
t!(format!("{}", 10), "10");
7272
t!(format!("{}", 10_usize), "10");
73-
t!(format!("{:?}", '☃'), "'\\u{2603}'");
73+
t!(format!("{:?}", '☃'), "''");
7474
t!(format!("{:?}", 10), "10");
7575
t!(format!("{:?}", 10_usize), "10");
7676
t!(format!("{:?}", "true"), "\"true\"");
7777
t!(format!("{:?}", "foo\nbar"), "\"foo\\nbar\"");
7878
t!(format!("{:?}", "foo\n\"bar\"\r\n\'baz\'\t\\qux\\"),
7979
r#""foo\n\"bar\"\r\n\'baz\'\t\\qux\\""#);
80-
t!(format!("{:?}", "foo\0bar\x01baz\u{3b1}q\u{75}x"),
81-
r#""foo\u{0}bar\u{1}baz\u{3b1}qux""#);
80+
t!(format!("{:?}", "foo\0bar\x01baz\u{7f}q\u{75}x"),
81+
r#""foo\u{0}bar\u{1}baz\u{7f}qux""#);
8282
t!(format!("{:o}", 10_usize), "12");
8383
t!(format!("{:x}", 10_usize), "a");
8484
t!(format!("{:X}", 10_usize), "A");

0 commit comments

Comments
 (0)