Skip to content

Commit f203c62

Browse files
committed
fix(test): update PowerShell completion assertion to check for VP_COMPLETE variable
1 parent ac7a667 commit f203c62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/vite_global_cli/src/commands/env

crates/vite_global_cli/src/commands/env/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ mod tests {
862862
"env.fish file should contain completion for fish"
863863
);
864864
assert!(
865-
ps1_content.contains("COMPLETE"),
865+
ps1_content.contains("VP_COMPLETE = \"powershell\""),
866866
"env.ps1 file should contain completion for PowerShell"
867867
);
868868
}

0 commit comments

Comments
 (0)