From 6d8bb3ce29aa22297a0bdcb9b2ef41fc60bf098e Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 30 Aug 2011 17:19:13 -0700 Subject: [PATCH] Un-xfail zip-same-length There was a type error that was getting reported poorly. Fixed it. (Now to figure out why the error was reported so poorly...) --- src/test/run-pass/zip-same-length.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/run-pass/zip-same-length.rs b/src/test/run-pass/zip-same-length.rs index 1a9dafd6575..5427f548d35 100644 --- a/src/test/run-pass/zip-same-length.rs +++ b/src/test/run-pass/zip-same-length.rs @@ -1,6 +1,3 @@ -// xfail-stage1 -// xfail-stage2 -// xfail-stage3 // In this case, the code should compile and should // succeed at runtime use std; @@ -20,6 +17,7 @@ fn main() { check same_length(chars, ints); let ps = zip(chars, ints); + check is_not_empty(ps); assert (head(ps) == ('a', 1u)); - assert (last(ps) == ('j' as u8, 10u)); -} \ No newline at end of file + assert (last_total(ps) == (j as char, 10u)); +}