We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea1f72 commit 2bf766bCopy full SHA for 2bf766b
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 9f7ed2f054c72dd0989b42ed3e6a839e64d9fa1a
+refs/heads/master: 6d8bb3ce29aa22297a0bdcb9b2ef41fc60bf098e
trunk/src/test/run-pass/zip-same-length.rs
@@ -1,6 +1,3 @@
-// xfail-stage1
-// xfail-stage2
3
-// xfail-stage3
4
// In this case, the code should compile and should
5
// succeed at runtime
6
use std;
@@ -20,6 +17,7 @@ fn main() {
20
17
check same_length(chars, ints);
21
18
let ps = zip(chars, ints);
22
19
+ check is_not_empty(ps);
23
assert (head(ps) == ('a', 1u));
24
- assert (last(ps) == ('j' as u8, 10u));
25
-}
+ assert (last_total(ps) == (j as char, 10u));
+}
0 commit comments