summaryrefslogtreecommitdiff
path: root/test/digest/test_ractor.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-21 11:45:22 +0900
committergit <svn-admin@ruby-lang.org>2022-07-21 11:45:48 +0900
commit86b29ef8773c7ff5eaf398e16ffb3ddcb8e37074 (patch)
tree8f70007b4476a9c454dfc75d480d2572f7f17ce7 /test/digest/test_ractor.rb
parent4a7ecc1bd9135916fd4ca246a47926c32ce72508 (diff)
downloadruby-86b29ef8773c7ff5eaf398e16ffb3ddcb8e37074.tar.gz
[ruby/digest] Ignore test_ractor.rb on non-Ractor ruby
https://github.com/ruby/digest/commit/352b8c1636
Diffstat (limited to 'test/digest/test_ractor.rb')
-rw-r--r--test/digest/test_ractor.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/digest/test_ractor.rb b/test/digest/test_ractor.rb
index 0dbdcb9c8c..b34a3653b4 100644
--- a/test/digest/test_ractor.rb
+++ b/test/digest/test_ractor.rb
@@ -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)