We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26b8227 commit 7427d2cCopy full SHA for 7427d2c
‎test/test_cryptutil.rb
@@ -8,14 +8,14 @@ class CryptUtilTestCase < Minitest::Test
8
9
def test_rand
10
# If this is not true, the rest of our test won't work
11
- assert(BIG.is_a?(Bignum))
+ assert(BIG.is_a?(Integer))
12
13
# It's possible that these will be small enough for fixnums, but
14
# extraorindarily unlikely.
15
a = OpenID::CryptUtil.rand(BIG)
16
b = OpenID::CryptUtil.rand(BIG)
17
- assert(a.is_a?(Bignum))
18
- assert(b.is_a?(Bignum))
+ assert(a.is_a?(Integer))
+ assert(b.is_a?(Integer))
19
refute_equal(a, b)
20
end
21
0 commit comments