We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 884c7c9 commit 7881bdeCopy full SHA for 7881bde
src/librustpkg/path_util.rs
@@ -75,9 +75,9 @@ mod test {
75
let substitute_path = Path("xyzzy");
76
assert!(default_dest_dir(&the_path) == the_path.push(~"build"));
77
let nonexistent_path = mk_nonexistent(&the_path, "quux");
78
- let bogus = do ::conditions::bad_path::cond.trap(|_| {
+ let bogus = do ::conditions::bad_path::cond.trap(|_| {
79
substitute_path
80
}).in { default_dest_dir(&nonexistent_path) };
81
assert!(bogus == substitute_path);
82
}
83
-}
+}
src/librustpkg/util.rs
@@ -579,7 +579,7 @@ mod test {
579
assert!(is_cmd(~"uninstall"));
580
assert!(is_cmd(~"unprefer"));
581
582
-
+
583
#[test]
584
fn test_parse_name() {
585
assert!(parse_name(~"org.mozilla.servo").get() == ~"servo");
0 commit comments