mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update doc
This commit is contained in:
parent
61a3e6b113
commit
69ffaa3796
1 changed files with 2 additions and 3 deletions
|
@ -2,9 +2,8 @@ require "./expectation"
|
|||
|
||||
module Spectator::Expectations
|
||||
# Expectation that operates on values.
|
||||
# There are two values - the actual and expected.
|
||||
# The actual value is what the SUT returned.
|
||||
# The expected value is what the test wants to see.
|
||||
# There is a primary "actual" value that the SUT produced.
|
||||
# A matcher is used on that value to determine whether it satisfies some criteria.
|
||||
class ValueExpectation(ActualType) < Expectation
|
||||
# Creates the expectation.
|
||||
# The `matched` flag should be true if the matcher is satisfied with the partial.
|
||||
|
|
Loading…
Reference in a new issue