summaryrefslogtreecommitdiff
path: root/test/bigdecimal/test_ractor.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-17 09:59:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-18 07:44:13 +0900
commit2b0766113b35baf188bcb40e7da36a27423a2149 (patch)
tree0f67cfc62dd775af527568b038c9b9a6c2dabcb1 /test/bigdecimal/test_ractor.rb
parentdb9f5fc91620b799c8829d0ca69bf72564a16e14 (diff)
Extract bigdecimal as bundled gems
Diffstat (limited to 'test/bigdecimal/test_ractor.rb')
-rw-r--r--test/bigdecimal/test_ractor.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/bigdecimal/test_ractor.rb b/test/bigdecimal/test_ractor.rb
deleted file mode 100644
index 798cc494e1..0000000000
--- a/test/bigdecimal/test_ractor.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-require_relative "helper"
-
-class TestBigDecimalRactor < Test::Unit::TestCase
- include TestBigDecimalBase
-
- def setup
- super
- omit unless defined? Ractor
- end
-
- def test_ractor_shareable
- assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
- begin;
- $VERBOSE = nil
- require "bigdecimal"
- r = Ractor.new BigDecimal(Math::PI, Float::DIG+1) do |pi|
- BigDecimal('2.0')*pi
- end
- assert_equal(2*Math::PI, r.take)
- end;
- end
-end