Compare commits
No commits in common. "ec04821462aa6dc22ae3527d9a7f0f6f6238c335" and "fd941b014a7a1bbedb360c42543f8a459b7c11bb" have entirely different histories.
ec04821462
...
fd941b014a
2 changed files with 2 additions and 6 deletions
|
@ -194,10 +194,6 @@ mod init_logger {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// The following tests work but because the log crate is global, initializing
|
||||
// the logger more than once (read: testing it more than once) leads to a
|
||||
// panic. These ignored tests must be manually tested.
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn caps_to_2_when_log_level_is_lt_2() -> Result<(), BunBunError> {
|
||||
|
|
|
@ -290,8 +290,8 @@ mod resolve_path {
|
|||
// How many ".." needed to get to /
|
||||
let nest_level = current_dir().unwrap().ancestors().count() - 1;
|
||||
let mut rel_path = PathBuf::from("../".repeat(nest_level));
|
||||
rel_path.push("./bin/echo");
|
||||
assert!(resolve_path(rel_path, "hello").is_ok());
|
||||
rel_path.push("./bin/env");
|
||||
assert!(resolve_path(rel_path, "echo").is_ok());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue