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
+2 -2
View File
@@ -3305,7 +3305,7 @@ fn test_each_empty() {
}
#[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 @@ fn test_iter_nonempty() {
}
#[test]
fn test_iteri() {
fn test_eachi() {
let mut i = 0;
for eachi(~[1, 2, 3]) |j, v| {
if i == 0 { assert!(*v == 1); }