Skip to content

Commit

Permalink
Output skip message if available
Browse files Browse the repository at this point in the history
  • Loading branch information
icy-arctic-fox committed Aug 16, 2024
1 parent c0e60ef commit 15b386f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spectator/formatters/common_text_output.cr
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ module Spectator::Formatters
printer.indent do
results.each do |result|
printer.with_style(:warning, &.puts result.example.full_description)
next unless skip_message = result.error_message
printer.indent { printer.puts skip_message }
end
end
printer.puts
Expand Down

0 comments on commit 15b386f

Please sign in to comment.