Skip to content

Commit

Permalink
Update success check (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dango authored Sep 5, 2024
1 parent 9c4ecbb commit 88fb315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test_output=$(
# Write the results.json file based on the exit code of the command that was
# just executed that tested the implementation file:

if [[ $test_output = *'All tests successful.' ]]; then
if (echo "$test_output" | grep -e '^All tests successful.$'); then
jq -n --arg output "$test_output" \
'{version: 1, status: "pass", message: $output}' \
> "$results_file"
Expand Down

0 comments on commit 88fb315

Please sign in to comment.