summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-10-16 12:54:07 +0900
committergit <[email protected]>2024-10-16 04:34:22 +0000
commit1379ef6f7d1570f60f03417ecc9f44f0104d5a18 (patch)
tree9494007d3d8837d1f1589ddabc0f6a4159ddc40f
parent3c1b0f21aa6dd7b7cfde67497c5b50717cdf14d2 (diff)
[ruby/json] Embedded helper.rb into test_helper.rb
https://github.com/ruby/json/commit/f8417ffc69
-rw-r--r--test/json/test_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb
index 10478aef7e..4955a02c9d 100644
--- a/test/json/test_helper.rb
+++ b/test/json/test_helper.rb
@@ -15,3 +15,8 @@ begin
require 'byebug'
rescue LoadError
end
+
+unless defined?(Test::Unit::CoreAssertions)
+ require "core_assertions"
+ Test::Unit::TestCase.include Test::Unit::CoreAssertions
+end