Skip to content

Commit 06bd841

Browse files
committed
---
yaml --- r: 7228 b: refs/heads/master c: 31bb6a6 h: refs/heads/master v: v3
1 parent 56068d5 commit 06bd841

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-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: 6c05214ef8c10ac7a4a1ce027d6910caaf204179
2+
refs/heads/master: 31bb6a60bb59d40c97ab3f68a313d199429bf4ef
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
tag color {
2+
red = 0xff0000;
3+
green = 0x00ff00;
4+
blue = 0x0000ff;
5+
black = 0x000000;
6+
white = 0xFFFFFF;
7+
}
8+
9+
fn main() {
10+
assert uint::to_str(red as uint, 10u) == #fmt["%?", red];
11+
assert uint::to_str(green as uint, 10u) == #fmt["%?", green];
12+
assert uint::to_str(white as uint, 10u) == #fmt["%?", white];
13+
}
14+

0 commit comments

Comments
 (0)