Skip to content

Commit cc27e0f

Browse files
committed
Update a couple tests that slipped through.
1 parent 550667a commit cc27e0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/run-pass/box-inside-if.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std;
44
import std::_vec;
55

66
fn some_vec(int x) -> vec[int] {
7-
ret vec();
7+
ret [];
88
}
99

1010
fn is_odd(int n) -> bool { ret true; }

src/test/run-pass/box-inside-if2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std;
44
import std::_vec;
55

66
fn some_vec(int x) -> vec[int] {
7-
ret vec();
7+
ret [];
88
}
99

1010
fn is_odd(int n) -> bool { ret true; }

0 commit comments

Comments
 (0)