Skip to content

Commit

Permalink
feat: Stop the current test function execution with return 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 9, 2024
1 parent ee1eb30 commit d2b9862
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/skip_todo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ function skip() {
console_results::print_skipped_test "${label}" "${reason}"

state::add_assertions_skipped

# Stop the current test function execution
return 0
}

function todo() {
Expand Down

0 comments on commit d2b9862

Please sign in to comment.