rubygem-flexmock/flexmock-3.0.2-testsuite-ruby34-formatting.patch
Mamoru TASAKA 559502a2e9 modify patch
2025-08-13 18:45:03 +09:00

12 lines
622 B
Diff

diff -urp flexmock.orig/test/partial_mock_test.rb flexmock/test/partial_mock_test.rb
--- flexmock.orig/test/partial_mock_test.rb 2024-11-18 15:38:57.625597258 +0900
+++ flexmock/test/partial_mock_test.rb 2024-11-18 15:44:56.469851634 +0900
@@ -633,7 +633,7 @@ class TestStubbing < Minitest::Test
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)
end
def test_it_checks_whether_mocks_are_forbidden_before_forwarding_the_call