]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/ifmt.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / run-pass / ifmt.rs
index ea9db9b1e1f8d91aabb86d5628b4c727f9af657f..240b6286c8cfc64d43f03d3c9cad0b3b96dc0660 100644 (file)
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 // no-pretty-expanded unnecessary unsafe block generated
-// ignore-lexer-test FIXME #15679
 
 #![deny(warnings)]
 #![allow(unused_must_use)]
@@ -196,9 +195,11 @@ fn test_write() {
         write!(w, "{}", "hello");
         writeln!(w, "{}", "line");
         writeln!(w, "{foo}", foo="bar");
+        w.write_char('☃');
+        w.write_str("str");
     }
 
-    t!(buf, "34helloline\nbar\n");
+    t!(buf, "34helloline\nbar\n☃str");
 }
 
 // Just make sure that the macros are defined, there's not really a lot that we