about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-04-11 23:39:13 -0400
committerBrian Anderson <andersrb@gmail.com>2011-04-13 22:13:04 -0400
commit44aed626bf56b72af4934768e9fa31ad4439935a (patch)
tree21e10d0f1d729f0aa6b410d3a09417c04bf6dce0 /src/test
parent330fdd2b045343bd07620876cf3db553d46ded6c (diff)
Add ExtFmt test for unsigned type
Diffstat (limited to 'src/test')
-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 2eb25099427..36983fd46c5 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");