xfail the tests for now, pending #1511 being fixed

This commit is contained in:
Niko Matsakis 2012-01-13 14:52:15 -08:00
parent a2e07a97ba
commit 4a34a7128a
2 changed files with 11 additions and 0 deletions

View 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]);
}

View File

@ -1,4 +1,5 @@
// xfail-pretty Issue #1510
tag color {
red = 0xff0000;
green = 0x00ff00;