Skip to content

Commit 2bf766b

Browse files
committed
---
yaml --- r: 5050 b: refs/heads/master c: 6d8bb3c h: refs/heads/master v: v3
1 parent aea1f72 commit 2bf766b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 9f7ed2f054c72dd0989b42ed3e6a839e64d9fa1a
2+
refs/heads/master: 6d8bb3ce29aa22297a0bdcb9b2ef41fc60bf098e

trunk/src/test/run-pass/zip-same-length.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage1
2-
// xfail-stage2
3-
// xfail-stage3
41
// In this case, the code should compile and should
52
// succeed at runtime
63
use std;
@@ -20,6 +17,7 @@ fn main() {
2017
check same_length(chars, ints);
2118
let ps = zip(chars, ints);
2219

20+
check is_not_empty(ps);
2321
assert (head(ps) == ('a', 1u));
24-
assert (last(ps) == ('j' as u8, 10u));
25-
}
22+
assert (last_total(ps) == (j as char, 10u));
23+
}

0 commit comments

Comments
 (0)