Skip to content

Commit 352b8c1

Browse files
committed
Ignore test_ractor.rb on non-Ractor ruby
1 parent 5f5bdfa commit 352b8c1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/digest/test_ractor.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ module TestDigestRactor
1313
Data1 = "abc"
1414
Data2 = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
1515

16-
def setup
17-
pend unless defined?(Ractor)
18-
end
19-
2016
def test_s_hexdigest
2117
assert_in_out_err([], <<-"end;", ["true", "true"], [])
2218
$VERBOSE = nil
@@ -98,4 +94,4 @@ class TestRMD160Ractor < Test::Unit::TestCase
9894
Data2 => "12a053384a9c0c88e405a06c27dcf49ada62eb2b",
9995
}
10096
end if defined?(Digest::RMD160)
101-
end
97+
end if defined?(Ractor)

0 commit comments

Comments
 (0)