about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-08-30 16:43:12 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-08-30 16:43:12 -0700
commit4fc72c21302d907a17affeaa4b72e114474410b0 (patch)
treeefafd7876ca30ad0148584c08fa681ca78548651 /src/test
parent819b00079ccb14035ab371a3b4d1bf85ce0dbb8f (diff)
downloadrust-4fc72c21302d907a17affeaa4b72e114474410b0.tar.gz
rust-4fc72c21302d907a17affeaa4b72e114474410b0.zip
XFAIL zip-same-length -- that's ok, since it's a new test
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/zip-same-length.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/run-pass/zip-same-length.rs b/src/test/run-pass/zip-same-length.rs
index 64063fb716e..1a9dafd6575 100644
--- a/src/test/run-pass/zip-same-length.rs
+++ b/src/test/run-pass/zip-same-length.rs
@@ -1,23 +1,25 @@
+// xfail-stage1
+// xfail-stage2
+// xfail-stage3
 // In this case, the code should compile and should
 // succeed at runtime
 use std;
 import std::uint;
+import std::u8;
 
 import std::vec::*;
 
 fn main() {
     let a = 'a' as u8, j = 'j' as u8, k = 1u, l = 10u;
     // Silly, but necessary
-    check le_u8(a, j);
+    check u8::le(a, j);
     check uint::le(k, l);
     let chars = enum_chars(a, j);
     let ints  = enum_uints(k, l);
 
-/*
     check same_length(chars, ints);
     let ps = zip(chars, ints);
 
     assert (head(ps) == ('a', 1u));
     assert (last(ps) == ('j' as u8, 10u));
-*/
 }
\ No newline at end of file