Skip to content

Commit 4e0d91d

Browse files
committed
test: normalize VirtualEnvWrapper prefix assertion on Windows
1 parent a9df6fc commit 4e0d91d

File tree

1 file changed

+4
-1
lines changed
  • crates/pet-virtualenvwrapper/src

1 file changed

+4
-1
lines changed

crates/pet-virtualenvwrapper/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ mod tests {
211211
Some(pet_fs::path::norm_case(executable))
212212
);
213213
assert_eq!(virtualenvwrapper_env.version, Some("3.12.1".to_string()));
214-
assert_eq!(virtualenvwrapper_env.prefix, Some(prefix.clone()));
214+
assert_eq!(
215+
virtualenvwrapper_env.prefix,
216+
Some(pet_fs::path::norm_case(prefix.clone()))
217+
);
215218
assert_eq!(
216219
virtualenvwrapper_env.project,
217220
Some(pet_fs::path::norm_case(project_root.clone()))

0 commit comments

Comments
 (0)