Skip to content

Commit e07a81b

Browse files
committed
fix
1 parent 2941936 commit e07a81b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/pixi_lock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ mod tests {
102102
#[test]
103103
fn test_get_packages_for_pixi_lock() {
104104
let path = Path::new("tests/test_pixi_lock_files/valid1_pixi.lock");
105-
let package_records = get_conda_packages_for_pixi_lock(&path, &None, &None, false);
105+
let package_records = get_conda_packages_for_pixi_lock(path, &None, &None, false);
106106
assert_eq!(package_records.unwrap().len(), 758);
107107

108108
let package_records =

tests/integration_tests.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ fn check_config(
4343
#[default(None)] prefix: Option<Vec<String>>,
4444
#[default(None)] platform: Option<Vec<String>>,
4545
#[default(None)] environment: Option<Vec<String>>,
46-
#[default(true)] include_safe: bool,
4746
#[default(None)] osi: Option<bool>,
4847
#[default(None)] ignore_pypi: Option<bool>,
4948
) -> CondaDenyCheckConfig {
@@ -52,7 +51,7 @@ fn check_config(
5251
prefix,
5352
platform,
5453
environment,
55-
include_safe,
54+
include_safe: true,
5655
osi,
5756
ignore_pypi,
5857
};
@@ -167,7 +166,6 @@ fn test_osi_check(
167166
None,
168167
None,
169168
None,
170-
true,
171169
Some(true)
172170
)]
173171
check_config: CondaDenyCheckConfig,

0 commit comments

Comments
 (0)