Skip to content

Commit

Permalink
Add missing requires for 'mocha/ruby_version'
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Jan 1, 2025
1 parent 984052c commit 7f99db6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/mocha/parameter_matchers/positional_or_keyword_hash.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'mocha/configuration'
require 'mocha/deprecation'
require 'mocha/ruby_version'
require 'mocha/parameter_matchers/base'
require 'mocha/parameter_matchers/has_entries'

Expand Down
1 change: 1 addition & 0 deletions test/acceptance/failure_messages_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require File.expand_path('../acceptance_test_helper', __FILE__)
require 'mocha/ruby_version'

class FailureMessagesTest < Mocha::TestCase
OBJECT_ADDRESS_PATTERN = '0x[0-9A-Fa-f]{1,12}'.freeze
Expand Down
3 changes: 3 additions & 0 deletions test/acceptance/positional_and_keyword_has_inspect_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require File.expand_path('../acceptance_test_helper', __FILE__)
require 'mocha/ruby_version'

class PositionalAndKeywordHashInspectTest < Mocha::TestCase
include AcceptanceTest

Expand Down
1 change: 1 addition & 0 deletions test/unit/hash_inspect_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require File.expand_path('../../test_helper', __FILE__)
require 'mocha/inspect'
require 'mocha/ruby_version'

class HashInspectTest < Mocha::TestCase
def test_should_return_string_representation_of_hash
Expand Down
1 change: 1 addition & 0 deletions test/unit/object_inspect_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require File.expand_path('../../test_helper', __FILE__)
require 'mocha/inspect'
require 'mocha/ruby_version'
require 'method_definer'

class ObjectInspectTest < Mocha::TestCase
Expand Down

0 comments on commit 7f99db6

Please sign in to comment.