mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
renamed tests
This commit is contained in:
+2
-2
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user