auto merge of #6294 : sonwow/rust/renamed-test, r=thestinger

Renamed test
This commit is contained in:
bors 2013-05-07 13:57:42 -07:00
commit 45ae3402e0
1 changed files with 2 additions and 2 deletions

View File

@ -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); }