renamed tests

This commit is contained in:
Youngsoo Son
2013-05-07 14:07:56 +09:00
parent 4b6864f219
commit dfe608dc99
+2 -2
View File
@@ -3304,7 +3304,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;
@@ -3313,7 +3313,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); }