Skip to content

Commit c4b8d48

Browse files
committed
Simplify indentation test runner output on GitHub Actions
1 parent e50122e commit c4b8d48

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dev/do/test-indent

+6-4
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ test_case_dir='tests'
4040
test_pass() { PASSED+=("$1"); }
4141
test_fail() {
4242
FAILED+=("$1")
43-
gh_do && echo "::error file=dev/$test_case_dir/$1/out.clj::Failed indent test case."
44-
err "Failed \"$1\""
43+
gh_do \
44+
&& echo "::error file=dev/$test_case_dir/$1/out.clj::Failed indent test case." \
45+
|| err "Failed \"$1\""
4546
}
4647
test_skip() {
4748
SKIPPED+=("$1")
48-
gh_do && echo "::warning file=dev/$test_case_dir/$1/out.clj::Skipped indent test case."
49-
warn "Skipped \"$1\""
49+
gh_do \
50+
&& echo "::warning file=dev/$test_case_dir/$1/out.clj::Skipped indent test case." \
51+
|| warn "Skipped \"$1\""
5052
}
5153

5254
run_test_case() {

0 commit comments

Comments
 (0)