mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove conflicting duplicate #new_pending_result
This commit is contained in:
parent
e8ca350152
commit
7504536528
1 changed files with 0 additions and 5 deletions
|
@ -15,11 +15,6 @@ def new_failure_result(result_type : Spectator::Result.class = Spectator::Failed
|
||||||
result_type.new(example, elapsed, expectations, error)
|
result_type.new(example, elapsed, expectations, error)
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_pending_result
|
|
||||||
example = PassingExample.create # Doesn't matter what type of example is used here.
|
|
||||||
Spectator::PendingResult.new(example)
|
|
||||||
end
|
|
||||||
|
|
||||||
def new_report(successful_count = 5, failed_count = 5, error_count = 5, pending_count = 5, overhead_time = 1_000_000i64)
|
def new_report(successful_count = 5, failed_count = 5, error_count = 5, pending_count = 5, overhead_time = 1_000_000i64)
|
||||||
results = [] of Spectator::Result
|
results = [] of Spectator::Result
|
||||||
successful_count.times { results << new_passing_result }
|
successful_count.times { results << new_passing_result }
|
||||||
|
|
Loading…
Reference in a new issue