summaryrefslogtreecommitdiff
path: root/test/bigdecimal/test_bigdecimal_util.rb
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2021-01-06 14:41:13 +0900
committerKenta Murata <mrkn@mrkn.jp>2021-01-07 10:19:46 +0900
commit698d7947c300a5f5d63965fb2ccce59601f2563b (patch)
treebb2b4208d67906cd0069059b784061cc191d89f3 /test/bigdecimal/test_bigdecimal_util.rb
parent939729dd823ff5a71c7f203b8d6e5e5976e31d4f (diff)
[ruby/bigdecimal] Include TestBigDecimalBase in TestBigDecimalUtil
https://github.com/ruby/bigdecimal/commit/f732201df1
Diffstat (limited to 'test/bigdecimal/test_bigdecimal_util.rb')
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb5
1 files changed, 3 insertions, 2 deletions
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)