diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/syntax-extension-fmt.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/test/run-pass/syntax-extension-fmt.rs b/src/test/run-pass/syntax-extension-fmt.rs index 0d1d7082..b7076c81 100644 --- a/src/test/run-pass/syntax-extension-fmt.rs +++ b/src/test/run-pass/syntax-extension-fmt.rs @@ -1,14 +1,13 @@ -//use std; -//import std._str; +use std; +import std._str; fn test(str actual, str expected) { log actual; log expected; - //check (_str.eq(actual, expected)); + check (_str.eq(actual, expected)); } fn main() { - /*test(#fmt("hello %d friends and %s things", 10, "formatted"), - "hello 10 friends and formatted things");*/ - log #fmt("test"); + test(#fmt("hello %d friends and %s things", 10, "formatted"), + "hello 10 friends and formatted things"); } |