auto merge of #6294 : sonwow/rust/renamed-test, r=thestinger
Renamed test
This commit is contained in:
commit
45ae3402e0
|
@ -3305,7 +3305,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_iter_nonempty() {
|
||||
fn test_each_nonempty() {
|
||||
let mut i = 0;
|
||||
for each(~[1, 2, 3]) |v| {
|
||||
i += *v;
|
||||
|
@ -3314,7 +3314,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_iteri() {
|
||||
fn test_eachi() {
|
||||
let mut i = 0;
|
||||
for eachi(~[1, 2, 3]) |j, v| {
|
||||
if i == 0 { assert!(*v == 1); }
|
||||
|
|
Loading…
Reference in New Issue