Rename ValueExpectation to Expectation in tests

This commit is contained in:
Michael Miller 2019-01-31 13:30:09 -07:00
parent 1ce594051c
commit ff4e148509
2 changed files with 14 additions and 14 deletions

View file

@ -20,7 +20,7 @@ def new_expectation(expected : ExpectedType = 123, actual : ActualType = 123) fo
partial = new_partial("foo", actual)
matcher = new_matcher("bar", expected)
matched = matcher.match?(partial)
Spectator::Expectations::ValueExpectation.new(matched, false, partial, matcher).as(Spectator::Expectations::Expectation)
Spectator::Expectations::Expectation.new(matched, false, partial, matcher)
end
def new_satisfied_expectation(value : T = 123) forall T