Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Nov 11, 2023
1 parent e26b85c commit 492966e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/lab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ pub fn test_mutants(
"cargo {} failed in an unmutated tree, so no mutants were tested",
baseline_outcome.last_phase(),
);
// TODO: Maybe should be Err, but it would need to be an error that can map to the right
// exit code.
return Ok(output_mutex
.into_inner()
.expect("lock output_dir")
Expand Down
4 changes: 2 additions & 2 deletions src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ mod test {
use pretty_assertions::assert_eq;
use toml::Table;

use super::fix_manifest_toml;
use super::{fix_cargo_config_toml, fix_manifest_toml};

#[test]
fn fix_path_absolute_unchanged() {
Expand Down Expand Up @@ -305,7 +305,7 @@ mod test {
"/src/other",
]"# };
let source_dir = Utf8Path::new("/Users/jane/src/foo");
let fixed_toml = super::fix_cargo_config_toml(cargo_config_toml, source_dir)
let fixed_toml = fix_cargo_config_toml(cargo_config_toml, source_dir)
.unwrap()
.expect("toml was modified");
println!("fixed toml:\n{fixed_toml}");
Expand Down

0 comments on commit 492966e

Please sign in to comment.