diff --git a/flexmock-3.0.2-testsuite-ruby34-formatting.patch b/flexmock-3.0.2-testsuite-ruby34-formatting.patch index 991e7b6..b37f0dd 100644 --- a/flexmock-3.0.2-testsuite-ruby34-formatting.patch +++ b/flexmock-3.0.2-testsuite-ruby34-formatting.patch @@ -5,9 +5,8 @@ diff -urp flexmock.orig/test/partial_mock_test.rb flexmock/test/partial_mock_tes exception = assert_raises(NameError) do obj.mocked_method end -- assert_match /undefined method `does_not_exist' for/, exception.message -+ assert_match /undefined method [`']does_not_exist' for/, exception.message +- assert_match(/undefined method `does_not_exist' for/, exception.message) ++ assert_match(/undefined method [`']does_not_exist' for/, exception.message) end def test_it_checks_whether_mocks_are_forbidden_before_forwarding_the_call -Only in flexmock/test: partial_mock_test.rb~