renamed tests

This commit is contained in:
Youngsoo Son 2013-05-07 14:07:56 +09:00
parent 4b6864f219
commit dfe608dc99

View File

@ -3304,7 +3304,7 @@ mod tests {
}
#[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 @@ 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); }