mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove unecessary result parameter
This commit is contained in:
parent
919e2b96f6
commit
bef3243c6c
1 changed files with 4 additions and 4 deletions
|
@ -37,22 +37,22 @@ module Spectator::Formatters
|
||||||
extend self
|
extend self
|
||||||
|
|
||||||
# Character output for a successful example.
|
# Character output for a successful example.
|
||||||
def success(result)
|
def success
|
||||||
Color.success(CHARACTERS[:success])
|
Color.success(CHARACTERS[:success])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Character output for a failed example.
|
# Character output for a failed example.
|
||||||
def failure(result)
|
def failure
|
||||||
Color.failure(CHARACTERS[:failure])
|
Color.failure(CHARACTERS[:failure])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Character output for an errored example.
|
# Character output for an errored example.
|
||||||
def error(result)
|
def error
|
||||||
Color.error(CHARACTERS[:error])
|
Color.error(CHARACTERS[:error])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Character output for a pending or skipped example.
|
# Character output for a pending or skipped example.
|
||||||
def pending(result)
|
def pending
|
||||||
Color.pending(CHARACTERS[:pending])
|
Color.pending(CHARACTERS[:pending])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue