mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Rename ExampleFilterCommand to ExampleCommand
This commit is contained in:
parent
031e892dad
commit
2316377c6e
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue