diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ractor_test.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/ractor_test.rb b/tests/ractor_test.rb index cbca9d2..71105e5 100644 --- a/tests/ractor_test.rb +++ b/tests/ractor_test.rb @@ -4,11 +4,6 @@ require 'test_helper' class JSONInRactorTest < Test::Unit::TestCase - def setup - skip if RUBY_PLATFORM =~ /java/ - skip unless defined? Ractor - end - def test_generate assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") begin; @@ -32,4 +27,4 @@ class JSONInRactorTest < Test::Unit::TestCase assert_equal(JSON.parse(expected_json), r.take) end; end -end +end if defined?(Ractor) |