summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-05-30 13:05:32 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-05-30 13:05:32 -0700
commit8f5b1bb64b6cdc09574390e7efb8cb5550762b78 (patch)
treec4777a4aecc3f6a32d4a009e1afdd2337338c210 /test/ruby
parent74ba1914dd120e0c9ea33d86eae7c5d3e5c730f1 (diff)
merge revision(s) fd549b229b0822198ddc847703194263a2186ed1: [Backport #20515]
test_bignum: defined? returns String (#10880) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit didn't verify the test is working properly due to mistaken auto-merge… [Bug #20515] bug: https://bugs.ruby-lang.org/issues/20515 follow-up: 22e4eeda6561693367fc7a00b92b90f46b09cabd follow-up: https://github.com/ruby/ruby/pull/10875
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_bignum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb
index 82247ffaad..1b705b02a8 100644
--- a/test/ruby/test_bignum.rb
+++ b/test/ruby/test_bignum.rb
@@ -824,7 +824,7 @@ class TestBignum < Test::Unit::TestCase
def test_gmp_version
if RbConfig::CONFIG.fetch('configure_args').include?("'--with-gmp'")
- assert_equal(true, defined?(Integer::GMP_VERSION))
+ assert_kind_of(String, Integer::GMP_VERSION)
end
end if ENV['GITHUB_WORKFLOW'] == 'Compilations'
end