Skip to content

Commit 45ae340

Browse files
committed
auto merge of #6294 : sonwow/rust/renamed-test, r=thestinger
Renamed test
2 parents 452817b + dfe608d commit 45ae340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/vec.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3305,7 +3305,7 @@ mod tests {
33053305
}
33063306

33073307
#[test]
3308-
fn test_iter_nonempty() {
3308+
fn test_each_nonempty() {
33093309
let mut i = 0;
33103310
for each(~[1, 2, 3]) |v| {
33113311
i += *v;
@@ -3314,7 +3314,7 @@ mod tests {
33143314
}
33153315

33163316
#[test]
3317-
fn test_iteri() {
3317+
fn test_eachi() {
33183318
let mut i = 0;
33193319
for eachi(~[1, 2, 3]) |j, v| {
33203320
if i == 0 { assert!(*v == 1); }

0 commit comments

Comments
 (0)