Skip to content

Commit 295e5ec

Browse files
committed
fix(test): clarify hint to mention ./test.sh for TEST_SKIP
The TEST_SKIP variable is only interpreted by test.sh, not by cargo test directly. Update the hint to say "rerun via ./test.sh" so users know exactly how to invoke it. https://claude.ai/code/session_01UBzLwHNmqEC2SafFKjEqYz
1 parent 0691643 commit 295e5ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli_errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ fn fs_errors() {
112112
panic!(
113113
"{}\n{}",
114114
"error: This test must not be run as root because running with elevated privileges would affect its accuracy.",
115-
"hint: Either run this test as a non-root user or set `TEST_SKIP='fs_errors'` to skip this test.",
115+
"hint: Either run this test as a non-root user or rerun via `TEST_SKIP='fs_errors' ./test.sh` to skip this test.",
116116
);
117117
}
118118

0 commit comments

Comments
 (0)