]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/ifmt.rs
test: Remove `@str` from the test suite
[rust.git] / src / test / run-pass / ifmt.rs
index 610cba1eb1fa63389d08456db5165331c7cc84c7..cc59ce5d8b24589b384c6b94fcf06c4079e6f83b 100644 (file)
@@ -58,7 +58,6 @@ pub fn main() {
     t!(format!("{}", 1.0f64), "1");
     t!(format!("{}", "a"), "a");
     t!(format!("{}", ~"a"), "a");
-    t!(format!("{}", @"a"), "a");
     t!(format!("{}", false), "false");
     t!(format!("{}", 'a'), "a");
 
@@ -73,7 +72,6 @@ pub fn main() {
     t!(format!("{:X}", 10u), "A");
     t!(format!("{:s}", "foo"), "foo");
     t!(format!("{:s}", ~"foo"), "foo");
-    t!(format!("{:s}", @"foo"), "foo");
     t!(format!("{:p}", 0x1234 as *int), "0x1234");
     t!(format!("{:p}", 0x1234 as *mut int), "0x1234");
     t!(format!("{:d}", A), "aloha");