Skip to content

Commit acdde9b

Browse files
brsongraydon
authored andcommitted
---
yaml --- r: 1480 b: refs/heads/master c: 7350b7f h: refs/heads/master v: v3
1 parent de22f34 commit acdde9b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 41a043303a53550590b2a8f10b3e57b79a92ecaa
2+
refs/heads/master: 7350b7ff238c886018ecd3924298fa63895dd2f8

trunk/src/test/run-pass/syntax-extension-fmt.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ fn test(str actual, str expected) {
1010
fn main() {
1111
test(#fmt("hello %d friends and %s things", 10, "formatted"),
1212
"hello 10 friends and formatted things");
13+
test(#fmt("d: %d", 1), "d: 1");
14+
test(#fmt("i: %i", 2), "i: 2");
15+
test(#fmt("s: %s", "test"), "s: test");
1316
}

0 commit comments

Comments
 (0)