Skip to content

Commit

Permalink
bzip2.rs: fix clippy warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Nov 9, 2024
1 parent 0593f52 commit cc7a8b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/quick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ fn flags_from_env_ordering() {
fn license() {
{
let mut cmd = command();
cmd.args(&["-L", "--never-processed"]);
cmd.args(["-L", "--never-processed"]);
let output = cmd.output().unwrap();

assert!(
Expand All @@ -359,7 +359,7 @@ fn license() {

{
let mut cmd = command();
cmd.args(&["--license", "--never-processed"]);
cmd.args(["--license", "--never-processed"]);
let output = cmd.output().unwrap();

assert!(
Expand All @@ -377,7 +377,7 @@ fn version() {

{
let mut cmd = command();
cmd.args(&["-V", "--never-processed"]);
cmd.args(["-V", "--never-processed"]);
let output = cmd.output().unwrap();

assert!(output.status.success(),);
Expand All @@ -386,7 +386,7 @@ fn version() {

{
let mut cmd = command();
cmd.args(&["--version", "--never-processed"]);
cmd.args(["--version", "--never-processed"]);
let output = cmd.output().unwrap();

assert!(output.status.success(),);
Expand All @@ -400,7 +400,7 @@ fn flags_after_double_dash() {

{
let mut cmd = command();
cmd.args(&["--", "-V"]);
cmd.args(["--", "-V"]);
let output = cmd.output().unwrap();

assert!(!output.status.success(),);
Expand Down

0 comments on commit cc7a8b7

Please sign in to comment.