aboutsummaryrefslogtreecommitdiffstats
path: root/test/json/json_generic_object_test.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-25 15:32:13 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-08-25 15:32:14 -0700
commit96a809f621b742b6256545e85519002d0fd28a44 (patch)
tree0f633e326d0ddbac04d8374cc85eb5dad355b414 /test/json/json_generic_object_test.rb
parent480aee4363d2bff26dcdd6b9280cf93ec0f1a06b (diff)
downloadruby-96a809f621b742b6256545e85519002d0fd28a44.tar.gz
Use require_relative in JSON tests
to prevent them from conflicting with yarp/test_helper
Diffstat (limited to 'test/json/json_generic_object_test.rb')
-rw-r--r--test/json/json_generic_object_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_generic_object_test.rb b/test/json/json_generic_object_test.rb
index 82742dcd63..c4d391208c 100644
--- a/test/json/json_generic_object_test.rb
+++ b/test/json/json_generic_object_test.rb
@@ -1,5 +1,5 @@
#frozen_string_literal: false
-require 'test_helper'
+require_relative 'test_helper'
class JSONGenericObjectTest < Test::Unit::TestCase
include JSON