Skip to content

Commit

Permalink
docs: update skipping-incomplete.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 9, 2024
1 parent daa5527 commit ec1ea1c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/skipping-incomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ however, it will indicate that some tests were skipped in the final output.
```bash [Example]
function test_skipped() {
if [[ $OS != "GEOS" ]]; then
skip
return
skip && return
fi

assert_empty "not reached"
}

function test_skipped_with_reason() {
if [[ $OS != "GEOS" ]]; then
skip "Not running under Commodore"
return
skip "Not running under Commodore" && return
fi

assert_empty "not reached"
Expand Down

0 comments on commit ec1ea1c

Please sign in to comment.