fix tests

This commit is contained in:
valoq 2025-07-12 19:05:37 +02:00
parent b019ffb8a6
commit f85080dc70
No known key found for this signature in database
GPG Key ID: 19F09A0FB865CBD8

View File

@ -171,14 +171,14 @@ mod tests {
// This is usually replaced in assertion tests // This is usually replaced in assertion tests
password: None, password: None,
threads: None, threads: None,
disable_sandbox: true, disable_sandbox: false,
cmd: Subcommand::Decompress { cmd: Subcommand::Decompress {
// Put a crazy value here so no test can assert it unintentionally // Put a crazy value here so no test can assert it unintentionally
files: vec!["\x00\x11\x22".into()], files: vec!["\x00\x11\x22".into()],
output_dir: None, output_dir: None,
remove: false, remove: false,
no_smart_unpack: false, no_smart_unpack: false,
disable_sandbox: true, disable_sandbox: false,
}, },
} }
} }
@ -193,7 +193,7 @@ mod tests {
output_dir: None, output_dir: None,
remove: false, remove: false,
no_smart_unpack: false, no_smart_unpack: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -206,7 +206,7 @@ mod tests {
output_dir: None, output_dir: None,
remove: false, remove: false,
no_smart_unpack: false, no_smart_unpack: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -219,7 +219,7 @@ mod tests {
output_dir: None, output_dir: None,
remove: false, remove: false,
no_smart_unpack: false, no_smart_unpack: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -235,7 +235,7 @@ mod tests {
fast: false, fast: false,
slow: false, slow: false,
follow_symlinks: false, follow_symlinks: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -250,7 +250,7 @@ mod tests {
fast: false, fast: false,
slow: false, slow: false,
follow_symlinks: false, follow_symlinks: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -265,7 +265,7 @@ mod tests {
fast: false, fast: false,
slow: false, slow: false,
follow_symlinks: false, follow_symlinks: false,
disable_sandbox: true, disable_sandbox: false,
}, },
..mock_cli_args() ..mock_cli_args()
} }
@ -291,7 +291,7 @@ mod tests {
fast: false, fast: false,
slow: false, slow: false,
follow_symlinks: false, follow_symlinks: false,
disable_sandbox: true, disable_sandbox: false,
}, },
format: Some("tar.gz".into()), format: Some("tar.gz".into()),
..mock_cli_args() ..mock_cli_args()