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
|
||||
|
||||
# Character output for a successful example.
|
||||
def success(result)
|
||||
def success
|
||||
Color.success(CHARACTERS[:success])
|
||||
end
|
||||
|
||||
# Character output for a failed example.
|
||||
def failure(result)
|
||||
def failure
|
||||
Color.failure(CHARACTERS[:failure])
|
||||
end
|
||||
|
||||
# Character output for an errored example.
|
||||
def error(result)
|
||||
def error
|
||||
Color.error(CHARACTERS[:error])
|
||||
end
|
||||
|
||||
# Character output for a pending or skipped example.
|
||||
def pending(result)
|
||||
def pending
|
||||
Color.pending(CHARACTERS[:pending])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue