We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12870f7 commit 4feefe3Copy full SHA for 4feefe3
crates/pet-pixi/src/lib.rs
@@ -165,7 +165,15 @@ mod tests {
165
.unwrap(),
166
Some(fs::canonicalize(prefix.clone()).unwrap())
167
);
168
- assert_eq!(pixi_env.executable, Some(executable));
+ assert_eq!(
169
+ pixi_env
170
+ .executable
171
+ .as_deref()
172
+ .map(fs::canonicalize)
173
+ .transpose()
174
+ .unwrap(),
175
+ Some(fs::canonicalize(executable).unwrap())
176
+ );
177
178
fs::remove_dir_all(prefix.parent().unwrap()).unwrap();
179
}
0 commit comments