modify patch
This commit is contained in:
parent
ca5a1817cd
commit
559502a2e9
1 changed files with 2 additions and 3 deletions
|
|
@ -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~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue