aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-04-11 23:39:13 -0400
committerBrian Anderson <[email protected]>2011-04-13 22:13:04 -0400
commit44aed626bf56b72af4934768e9fa31ad4439935a (patch)
tree21e10d0f1d729f0aa6b410d3a09417c04bf6dce0
parentFix a typo in test expr-alt-generic-box1.rs (diff)
downloadrust-44aed626bf56b72af4934768e9fa31ad4439935a.tar.xz
rust-44aed626bf56b72af4934768e9fa31ad4439935a.zip
Add ExtFmt test for unsigned type
-rw-r--r--src/test/run-pass/syntax-extension-fmt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/syntax-extension-fmt.rs b/src/test/run-pass/syntax-extension-fmt.rs
index 2eb25099..36983fd4 100644
--- a/src/test/run-pass/syntax-extension-fmt.rs
+++ b/src/test/run-pass/syntax-extension-fmt.rs
@@ -17,6 +17,7 @@ fn main() {
test(#fmt("%d", 1), "1");
test(#fmt("%i", 2), "2");
test(#fmt("%i", -1), "-1");
+ test(#fmt("%u", 10u), "10");
test(#fmt("%s", "test"), "test");
test(#fmt("%b", true), "true");
test(#fmt("%b", false), "false");