summaryrefslogtreecommitdiff
path: root/test/json/ractor_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/ractor_test.rb')
-rw-r--r--test/json/ractor_test.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/json/ractor_test.rb b/test/json/ractor_test.rb
index 96d1528c5b..71105e55ec 100644
--- a/test/json/ractor_test.rb
+++ b/test/json/ractor_test.rb
@@ -4,10 +4,6 @@
require 'test_helper'
class JSONInRactorTest < Test::Unit::TestCase
- def setup
- skip unless defined? Ractor
- end
-
def test_generate
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
begin;
@@ -31,4 +27,4 @@ class JSONInRactorTest < Test::Unit::TestCase
assert_equal(JSON.parse(expected_json), r.take)
end;
end
-end
+end if defined?(Ractor)