Skip to content

Commit 7e5ec7e

Browse files
committed
fix: rename get_vite_plus_home to get_vp_home in test from #1185
1 parent 399f54e commit 7e5ec7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/vite_shared/src/home.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ mod tests {
108108

109109
// Clear any existing VITE_PLUS_HOME env var by using a test config without it
110110
EnvConfig::test_scope(EnvConfig::for_test(), || {
111-
// Test: get_vite_plus_home should return /tmp/xxx/.vite-plus
112-
let home = get_vite_plus_home().unwrap();
111+
// Test: get_vp_home should return /tmp/xxx/.vite-plus
112+
let home = get_vp_home().unwrap();
113113
assert_eq!(home.as_path(), vite_plus_home.as_path());
114114
});
115115

0 commit comments

Comments
 (0)