Skip to content

Commit 717b2cb

Browse files
committed
revert report -> failures
1 parent 616b9ed commit 717b2cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hooks/command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ cat "$annotation_path"
5858

5959
if grep -q "<details>" "$annotation_path"; then
6060
if ! check_size; then
61-
echo "--- :warning: Report too large to annotate"
62-
echo "The report are too large to create a build annotation. Please inspect the failed JUnit artifacts manually."
61+
echo "--- :warning: Failures too large to annotate"
62+
echo "The failures are too large to create a build annotation. Please inspect the failed JUnit artifacts manually."
6363
else
6464
echo "--- :buildkite: Creating annotation"
6565
# shellcheck disable=SC2002

tests/command.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ load "$BATS_PATH/load.bash"
142142

143143
assert_success
144144

145-
assert_output --partial "Report too large to annotate"
145+
assert_output --partial "Failures too large to annotate"
146146

147147
unstub docker
148148
unstub buildkite-agent
@@ -172,7 +172,7 @@ load "$BATS_PATH/load.bash"
172172

173173
assert_failure
174174

175-
assert_output --partial "Report too large to annotate"
175+
assert_output --partial "Failures too large to annotate"
176176

177177
unstub mktemp
178178
unstub buildkite-agent

0 commit comments

Comments
 (0)