We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4feefe3 commit a9df6fcCopy full SHA for a9df6fc
crates/pet-virtualenvwrapper/src/lib.rs
@@ -203,7 +203,13 @@ mod tests {
203
Some(PythonEnvironmentKind::VirtualEnvWrapper)
204
);
205
assert_eq!(virtualenvwrapper_env.name, Some("wrapped-env".to_string()));
206
- assert_eq!(virtualenvwrapper_env.executable, Some(executable));
+ assert_eq!(
207
+ virtualenvwrapper_env
208
+ .executable
209
+ .as_ref()
210
+ .map(pet_fs::path::norm_case),
211
+ Some(pet_fs::path::norm_case(executable))
212
+ );
213
assert_eq!(virtualenvwrapper_env.version, Some("3.12.1".to_string()));
214
assert_eq!(virtualenvwrapper_env.prefix, Some(prefix.clone()));
215
assert_eq!(
0 commit comments