[ruby/digest] Ignore test_ractor.rb on non-Ractor ruby

https://github.com/ruby/digest/commit/352b8c1636
This commit is contained in:
Nobuyoshi Nakada 2022-07-21 11:45:22 +09:00 committed by git
parent 4a7ecc1bd9
commit 86b29ef877

View File

@ -13,10 +13,6 @@ module TestDigestRactor
Data1 = "abc"
Data2 = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
def setup
pend unless defined?(Ractor)
end
def test_s_hexdigest
assert_in_out_err([], <<-"end;", ["true", "true"], [])
$VERBOSE = nil
@ -98,4 +94,4 @@ module TestDigestRactor
Data2 => "12a053384a9c0c88e405a06c27dcf49ada62eb2b",
}
end if defined?(Digest::RMD160)
end
end if defined?(Ractor)