Skip to content

Commit

Permalink
fix if stmts
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Mar 12, 2024
1 parent d78cb25 commit 09be3dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ jobs:
exit 1
fi
if [[! -n `grep "Passed: 7"` ]]; then
if [[ ! -n `grep "Passed: 7" testflo_report.out` ]]; then
echo "Expected 7 tests to pass."
exit 7
fi
if [[! -n `grep "Failed: 8"` ]]; then
if [[ ! -n `grep "Failed: 8" testflo_report.out` ]]; then
echo "Expected 8 tests to fail."
exit 8
fi
if [[! -n `grep "Skipped: 11"` ]]; then
if [[ ! -n `grep "Skipped: 11" testflo_report.out` ]]; then
echo "Expected 11 tests to be skipped."
exit 11
fi
Expand Down

0 comments on commit 09be3dc

Please sign in to comment.