From c4a97230f17db2485c34979cc72b5b352476a9e0 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 4 Jan 2020 09:33:14 -0700 Subject: [PATCH] Remove unecessary members provided by ValueMatcher --- src/spectator/matchers/have_predicate_matcher.cr | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/spectator/matchers/have_predicate_matcher.cr b/src/spectator/matchers/have_predicate_matcher.cr index c8d2ad1..7b23cd0 100644 --- a/src/spectator/matchers/have_predicate_matcher.cr +++ b/src/spectator/matchers/have_predicate_matcher.cr @@ -7,13 +7,6 @@ module Spectator::Matchers # Each key in the tuple is a predicate (without the '?' and 'has_' prefix) to test. # Each value is a a `Tuple` of arguments to pass to the predicate method. struct HavePredicateMatcher(ExpectedType) < ValueMatcher(ExpectedType) - # Expected value and label. - private getter expected - - # Creates the matcher with a expected values. - def initialize(@expected : TestValue(ExpectedType)) - end - # Short text about the matcher's purpose. # This explains what condition satisfies the matcher. # The description is used when the one-liner syntax is used.