Skip to content

Commit

Permalink
Fix expectation for exception message (MRI 2.3.0 compat)
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Nov 16, 2015
1 parent a3b6b0f commit 745f9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hash_test.rb
Expand Up @@ -381,7 +381,7 @@
end

exception = -> { hash.all? { |_, v| v.foo } }.must_raise NoMethodError
exception.message.must_equal exception_message
exception.message.must_match exception_message
end
end
end
Expand Down

0 comments on commit 745f9f7

Please sign in to comment.