Rename ExampleFilterCommand to ExampleCommand

This commit is contained in:
Michael Miller 2021-05-16 17:08:15 -06:00
parent 031e892dad
commit 2316377c6e
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
require "./comment"
module Spectator::Formatting::Components module Spectator::Formatting::Components
struct ExampleFilterCommand struct ExampleCommand
def initialize(@example : Example) def initialize(@example : Example)
end end

View file

@ -1,4 +1,4 @@
require "./example_filter_command" require "./example_command"
require "./runtime" require "./runtime"
require "./totals" require "./totals"
@ -31,7 +31,7 @@ module Spectator::Formatting::Components
io.puts "Failed examples:" io.puts "Failed examples:"
io.puts io.puts
failures.each do |failure| failures.each do |failure|
io.puts ExampleFilterCommand.new(failure).colorize(:red) io.puts ExampleCommand.new(failure).colorize(:red)
end end
end end
end end