mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Implement ExpectationResults specs and fix typo
This commit is contained in:
parent
703a791f78
commit
67e192edc6
3 changed files with 109 additions and 24 deletions
|
@ -27,7 +27,7 @@ module Spectator::Expectations
|
|||
end
|
||||
|
||||
# Returns a collection of only the failed expectation results.
|
||||
def failures : Enumerables(Expectation::Result)
|
||||
def failures : Enumerable(Expectation::Result)
|
||||
@results.select(&.failure?)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue