auto merge of #6294 : sonwow/rust/renamed-test, r=thestinger
Renamed test
This commit is contained in:
commit
45ae3402e0
1 changed files with 2 additions and 2 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue