Skip to content

Commit a4b46f0

Browse files
committed
fix(evals): do not double FAIL prefix in run_visible_suite
1 parent 9384b01 commit a4b46f0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎evals/capability/cases/verify-common.sh‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ check_contract() {
2828
}
2929

3030
# run_visible_suite <log-file> <fail-message>: fail (after printing the log)
31-
# unless `bun test` passes in the workdir.
31+
# unless `bun test` passes in the workdir. Callers pass a full `FAIL: ...`
32+
# line; this helper prints it as-is.
3233
run_visible_suite() {
3334
local log="$1"
3435
local fail_message="$2"
3536
if ! bun test >"$log" 2>&1; then
3637
cat "$log"
37-
echo "FAIL: $fail_message"
38+
echo "$fail_message"
3839
exit 1
3940
fi
4041
}

0 commit comments

Comments
 (0)