summaryrefslogtreecommitdiff
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
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
-rw-r--r--test/ruby/test_bignum.rb2
-rw-r--r--version.h2
2 files changed, 2 insertions, 2 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
diff --git a/version.h b/version.h
index d8bdd28e54..70c5e4de69 100644
--- a/version.h
+++ b/version.h
@@ -11,7 +11,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 2
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 80
+#define RUBY_PATCHLEVEL 81
#include "ruby/version.h"
#include "ruby/internal/abi.h"