Skip to content

Commit

Permalink
Fix printing skip message
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Aug 29, 2023
1 parent aae1113 commit bbae2ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_skip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ def setup
end

def teardown
unless current_result.passed?
case
when passed?
# nop
else
puts "💡You can skip this test `#{name}` by adding the name to `#{SKIP_TESTS_FILE}`"
end

Expand Down

0 comments on commit bbae2ea

Please sign in to comment.