summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bigdecimal/helper.rb (renamed from test/bigdecimal/testbase.rb)0
-rw-r--r--test/bigdecimal/test_bigdecimal.rb2
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb5
-rw-r--r--test/bigdecimal/test_bigmath.rb2
-rw-r--r--test/bigdecimal/test_ractor.rb2
5 files changed, 6 insertions, 5 deletions
diff --git a/test/bigdecimal/testbase.rb b/test/bigdecimal/helper.rb
index 22b05f0..22b05f0 100644
--- a/test/bigdecimal/testbase.rb
+++ b/test/bigdecimal/helper.rb
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb
index 5599234..74c991f 100644
--- a/test/bigdecimal/test_bigdecimal.rb
+++ b/test/bigdecimal/test_bigdecimal.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require_relative "testbase"
+require_relative "helper"
require 'bigdecimal/math'
require 'rbconfig/sizeof'
diff --git a/test/bigdecimal/test_bigdecimal_util.rb b/test/bigdecimal/test_bigdecimal_util.rb
index b855fd5..3e3d9db 100644
--- a/test/bigdecimal/test_bigdecimal_util.rb
+++ b/test/bigdecimal/test_bigdecimal_util.rb
@@ -1,9 +1,10 @@
# frozen_string_literal: false
-require_relative "testbase"
-
+require_relative "helper"
require 'bigdecimal/util'
class TestBigDecimalUtil < Test::Unit::TestCase
+ include TestBigDecimalBase
+
def test_BigDecimal_to_d
x = BigDecimal(1)
assert_same(x, x.to_d)
diff --git a/test/bigdecimal/test_bigmath.rb b/test/bigdecimal/test_bigmath.rb
index 6f271d0..5bf1fbf 100644
--- a/test/bigdecimal/test_bigmath.rb
+++ b/test/bigdecimal/test_bigmath.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require_relative "testbase"
+require_relative "helper"
require "bigdecimal/math"
class TestBigMath < Test::Unit::TestCase
diff --git a/test/bigdecimal/test_ractor.rb b/test/bigdecimal/test_ractor.rb
index 3ccd7c8..f78663f 100644
--- a/test/bigdecimal/test_ractor.rb
+++ b/test/bigdecimal/test_ractor.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-require_relative "testbase"
+require_relative "helper"
class TestBigDecimalRactor < Test::Unit::TestCase
include TestBigDecimalBase