From: Lucas Kanashiro <kanashiro@debian.org>
Date: Tue, 17 Dec 2024 16:53:58 -0300
Subject: Replace Bignum with Integer

Bignum was removed in Ruby 3.3

Forwarded: no
---
 test/test_cryptutil.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test_cryptutil.rb b/test/test_cryptutil.rb
index 2f27254..33c83cf 100644
--- a/test/test_cryptutil.rb
+++ b/test/test_cryptutil.rb
@@ -8,14 +8,14 @@ class CryptUtilTestCase < Minitest::Test
 
   def test_rand
     # If this is not true, the rest of our test won't work
-    assert(BIG.is_a?(Bignum))
+    assert(BIG.is_a?(Integer))
 
     # It's possible that these will be small enough for fixnums, but
     # extraorindarily unlikely.
     a = OpenID::CryptUtil.rand(BIG)
     b = OpenID::CryptUtil.rand(BIG)
-    assert(a.is_a?(Bignum))
-    assert(b.is_a?(Bignum))
+    assert(a.is_a?(Integer))
+    assert(b.is_a?(Integer))
     refute_equal(a, b)
   end
 
