Skip to content

Commit 4a34a71

Browse files
committed
xfail the tests for now, pending #1511 being fixed
1 parent a2e07a9 commit 4a34a71

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// xfail-test
2+
3+
enum color { red; green; blue; black; white; }
4+
5+
fn main() {
6+
assert (uint::to_str(red as uint, 10) == #fmt["%?", red]);
7+
assert (uint::to_str(green as uint, 10) == #fmt["%?", green]);
8+
assert (uint::to_str(white as uint, 10) == #fmt["%?", white]);
9+
}
10+

src/test/run-pass/tag-disr-val-shape.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// xfail-pretty Issue #1510
2+
23
tag color {
34
red = 0xff0000;
45
green = 0x00ff00;

0 commit comments

Comments
 (0)