Skip to content

Commit 6b0ae34

Browse files
shulaodafengmk2
andauthored
chore(vite_pm_cli): enable lib tests by removing stale test = false (#1661)
## Summary - `crates/vite_pm_cli/src/cli.rs` contains real unit tests (`#[cfg(test)] mod tests` with `#[test]` cases around line 1146), but `Cargo.toml` had `[lib] test = false`, which silently excluded them from `cargo test`. - `cargo shear --fix` (invoked via `just fmt`) flagged and removed the obsolete `test = false` line so the existing tests are picked up. Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
1 parent 9168712 commit 6b0ae34

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

crates/vite_pm_cli/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ vite_str = { workspace = true }
2121
vite_workspace = { workspace = true }
2222

2323
[lib]
24-
test = false
2524
doctest = false
2625

2726
[lints]

0 commit comments

Comments
 (0)