Tidy
This commit is contained in:
parent
884c7c9326
commit
7881bde027
@ -75,9 +75,9 @@ mod test {
|
||||
let substitute_path = Path("xyzzy");
|
||||
assert!(default_dest_dir(&the_path) == the_path.push(~"build"));
|
||||
let nonexistent_path = mk_nonexistent(&the_path, "quux");
|
||||
let bogus = do ::conditions::bad_path::cond.trap(|_| {
|
||||
let bogus = do ::conditions::bad_path::cond.trap(|_| {
|
||||
substitute_path
|
||||
}).in { default_dest_dir(&nonexistent_path) };
|
||||
assert!(bogus == substitute_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -579,7 +579,7 @@ mod test {
|
||||
assert!(is_cmd(~"uninstall"));
|
||||
assert!(is_cmd(~"unprefer"));
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_parse_name() {
|
||||
assert!(parse_name(~"org.mozilla.servo").get() == ~"servo");
|
||||
|
Loading…
x
Reference in New Issue
Block a user