diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-12-21 01:16:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-12-21 01:19:55 +0900 |
commit | 9c73c756244fa27ffa99d81dcc73a4ad14198002 (patch) | |
tree | 14b0ea9059b8c31e276531a1df712ead4e158cdb /spec/ruby/library/zlib/crc32_spec.rb | |
parent | fb8f011422c645ebe29e94c3fb2079af73d1d35f (diff) |
Use Integer instead of Fixnum/Bignum
Diffstat (limited to 'spec/ruby/library/zlib/crc32_spec.rb')
-rw-r--r-- | spec/ruby/library/zlib/crc32_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/zlib/crc32_spec.rb b/spec/ruby/library/zlib/crc32_spec.rb index 4c1d6ce2e9..d5f5c199cc 100644 --- a/spec/ruby/library/zlib/crc32_spec.rb +++ b/spec/ruby/library/zlib/crc32_spec.rb @@ -29,7 +29,7 @@ describe "Zlib.crc32" do -> { Zlib.crc32(test_string, 2**128) }.should raise_error(RangeError) end - it "calculates the CRC checksum for string and initial CRC value for Bignums" do + it "calculates the CRC checksum for string and initial CRC value for Integers" do test_string = "This is a test string! How exciting!%?" # Zlib.crc32(test_string, -2**30).should == 277228695 Zlib.crc32(test_string, 2**30).should == 46597132 |