From 8143229fdb8242d58de938b876b77cbaf37eb169 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 5 Jan 2020 22:47:57 -0700 Subject: [PATCH] Fix failure message --- src/spectator/matchers/contain_matcher.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator/matchers/contain_matcher.cr b/src/spectator/matchers/contain_matcher.cr index 26d3287..edecfbd 100644 --- a/src/spectator/matchers/contain_matcher.cr +++ b/src/spectator/matchers/contain_matcher.cr @@ -25,7 +25,7 @@ module Spectator::Matchers # The message should typically only contain the test expression labels. # Actual values should be returned by `#values`. private def failure_message(actual) : String - "#{actual.label} does not match #{expected.label}" + "#{actual.label} does not contain #{expected.label}" end # Message displayed when the matcher isn't satisifed and is negated.