diff options
Diffstat (limited to 'spec/matchers')
-rw-r--r-- | spec/matchers/be_like.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/matchers/be_like.rb b/spec/matchers/be_like.rb index c1b1ffc3fd..4ff5bc532f 100644 --- a/spec/matchers/be_like.rb +++ b/spec/matchers/be_like.rb @@ -10,11 +10,11 @@ module BeLikeMatcher end def failure_message - "expected #{@actual} to be like #{@expected}" + "expected\n#{@actual}\nto be like\n#{@expected}" end def negative_failure_message - "expected #{@actual} to be unlike #{@expected}" + "expected\n#{@actual}\nto be unlike\n#{@expected}" end end |