Skip to content

Commit

Permalink
Fix compatibility with minitest 5.19
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Aug 3, 2023
1 parent 2ea29be commit b75c683
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gem "bundler"
gem "rake"
gem "rake-compiler"
gem "minitest", "~> 5.0"
gem "mocha", "~> 1.2"
gem "mocha"

group :development do
gem "rubocop", "~> 1.28.2" # Ruby 2.5 support
Expand Down
2 changes: 1 addition & 1 deletion test/helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require("test_helper")

class HelperTest < MiniTest::Test
class HelperTest < Minitest::Test
include(CompileCacheISeqHelper)
include(TmpdirHelper)

Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/cache_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Bootsnap
module LoadPathCache
class CacheTest < MiniTest::Test
class CacheTest < Minitest::Test
include LoadPathCacheHelper

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/change_observer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Bootsnap
module LoadPathCache
class ChangeObserverTest < MiniTest::Test
class ChangeObserverTest < Minitest::Test
include LoadPathCacheHelper

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/core_ext/kernel_require_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_uses_the_same_duck_type_as_require
end
end

class KernelLoadTest < MiniTest::Test
class KernelLoadTest < Minitest::Test
def setup
@initial_dir = Dir.pwd
@dir1 = File.realpath(Dir.mktmpdir)
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/loaded_features_index_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Bootsnap
module LoadPathCache
class LoadedFeaturesIndexTest < MiniTest::Test
class LoadedFeaturesIndexTest < Minitest::Test
include LoadPathCacheHelper

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/path_scanner_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Bootsnap
module LoadPathCache
class PathScannerTest < MiniTest::Test
class PathScannerTest < Minitest::Test
include LoadPathCacheHelper

DLEXT = RbConfig::CONFIG["DLEXT"]
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/path_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module Bootsnap
module LoadPathCache
class PathTest < MiniTest::Test
class PathTest < Minitest::Test
include LoadPathCacheHelper

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/load_path_cache/store_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

module Bootsnap
module LoadPathCache
class StoreTest < MiniTest::Test
class StoreTest < Minitest::Test
include LoadPathCacheHelper

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def self.fetch(*)
end
end

module MiniTest
module Minitest
class Test
module Help
class << self
Expand Down

0 comments on commit b75c683

Please sign in to comment.