Skip to content

Commit a67a3b7

Browse files
committed
Fixing tests
1 parent b598958 commit a67a3b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/run-pass/const-enum-vec-repeat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
enum State { ST_NULL, ST_WHITESPACE = 1 }
1212

13-
fn main() {
13+
pub fn main() {
1414
~[ST_NULL, ..(ST_WHITESPACE as uint)];
1515
}

src/test/run-pass/vec-repeat-with-cast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
fn main() { let _a = [0, ..1 as uint]; }
11+
pub fn main() { let _a = [0, ..1 as uint]; }

0 commit comments

Comments
 (0)