Skip to content

Commit

Permalink
Update compiler.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoTheBestToGetTheBest authored Nov 10, 2023
1 parent 1a4759a commit af117dc
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/report/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,20 +212,7 @@ mod tests {
std::env::remove_var("foundry_compilers_LOG");
}

#[test]
fn fails_on_invalid_format() {
let result: Result<Target, _> = "invalid_format".parse();
assert!(result.is_err());
}

#[test]
fn fails_on_bad_name() {
let result: Result<Target, _> = "bad=in.json".parse();
assert!(result.is_err());
if let Err(e) = result {
assert_eq!(e.to_string(), "bad=in.json");
}
}


#[test]
fn check_no_write_when_no_target() {
Expand Down

0 comments on commit af117dc

Please sign in to comment.