xfail the tests for now, pending #1511 being fixed
This commit is contained in:
parent
a2e07a97ba
commit
4a34a7128a
10
src/test/run-pass/tag-auto-disr-val-shape.rs
Normal file
10
src/test/run-pass/tag-auto-disr-val-shape.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// xfail-test
|
||||
|
||||
enum color { red; green; blue; black; white; }
|
||||
|
||||
fn main() {
|
||||
assert (uint::to_str(red as uint, 10) == #fmt["%?", red]);
|
||||
assert (uint::to_str(green as uint, 10) == #fmt["%?", green]);
|
||||
assert (uint::to_str(white as uint, 10) == #fmt["%?", white]);
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
// xfail-pretty Issue #1510
|
||||
|
||||
tag color {
|
||||
red = 0xff0000;
|
||||
green = 0x00ff00;
|
||||
|
Loading…
x
Reference in New Issue
Block a user