Skip to content

Commit

Permalink
Change the condition for Ractor
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 22, 2020
1 parent df969c7 commit 795b274
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/ractor_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -32,4 +27,4 @@ def test_generate
assert_equal(JSON.parse(expected_json), r.take)
end;
end
end
end if defined?(Ractor)

0 comments on commit 795b274

Please sign in to comment.