diff options
| author | Brian Anderson <[email protected]> | 2011-04-11 23:39:13 -0400 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-04-13 22:13:04 -0400 |
| commit | 44aed626bf56b72af4934768e9fa31ad4439935a (patch) | |
| tree | 21e10d0f1d729f0aa6b410d3a09417c04bf6dce0 /src | |
| parent | Fix a typo in test expr-alt-generic-box1.rs (diff) | |
| download | rust-44aed626bf56b72af4934768e9fa31ad4439935a.tar.xz rust-44aed626bf56b72af4934768e9fa31ad4439935a.zip | |
Add ExtFmt test for unsigned type
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/syntax-extension-fmt.rs | 1 |
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"); |