test_bignum: defined? returns String (#10880)
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
This commit is contained in:
parent
4e36abbab3
commit
fd549b229b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user