1
Fork 0

Use fn~ to simplify the core::test interface

This commit is contained in:
Brian Anderson 2012-01-19 13:00:30 -08:00
parent c2dba1799f
commit f15182fffc
4 changed files with 63 additions and 114 deletions

View file

@ -15,8 +15,7 @@ import util::logv;
export run;
fn run(cx: cx, -_testfile: [u8]) {
let testfile = str::unsafe_from_bytes(_testfile);
fn run(cx: cx, testfile: str) {
if cx.config.verbose {
// We're going to be dumping a lot of info. Start on a new line.
io::stdout().write_str("\n\n");