modify patch

This commit is contained in:
Mamoru TASAKA 2025-08-13 18:45:03 +09:00
commit 559502a2e9

View file

@ -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~