Skip to content

Commit

Permalink
apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin John Mayer (井上 オースティン) committed Sep 14, 2023
1 parent 28a1f6a commit f22982b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ mod tests {

add_crate_type(&mut cmd, &extra_options);

assert!(!cmd.get_args().any(|arg| arg.to_str().unwrap() == "--crate-type"));
assert!(!cmd
.get_args()
.any(|arg| arg.to_str().unwrap() == "--crate-type"));
assert!(!cmd.get_args().any(|arg| arg.to_str().unwrap() == "cdylib"));
}

Expand All @@ -183,7 +185,9 @@ mod tests {

add_crate_type(&mut cmd, &extra_options);

assert!(cmd.get_args().any(|arg| arg.to_str().unwrap() == "--crate-type"));
assert!(cmd
.get_args()
.any(|arg| arg.to_str().unwrap() == "--crate-type"));
assert!(cmd.get_args().any(|arg| arg.to_str().unwrap() == "cdylib"));
}
}

0 comments on commit f22982b

Please sign in to comment.