Skip to content

Commit

Permalink
update comment for QRMAXBITS
Browse files Browse the repository at this point in the history
  • Loading branch information
ssayer committed Aug 9, 2021
1 parent 60b63a5 commit 44a58bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rqrcode_core/rqrcode_test.rb
Expand Up @@ -132,7 +132,7 @@ def test_error_correction_level
end

def test_version_table
# tables in RQRCodeCore::QRCode::QRMAXDIGITS wasn't updated to support greater versions
# tables in RQRCodeCore::QRCode::QRMAXBITS wasn't updated to support greater versions
assert_equal RQRCodeCore::QRCode.new("1" * 289, level: :h, mode: :number).version, 11
assert_equal RQRCodeCore::QRCode.new("A" * 175, level: :h, mode: :alphanumeric).version, 11
assert_equal RQRCodeCore::QRCode.new("a" * 383, level: :h, mode: :byte_8bit).version, 21
Expand Down

0 comments on commit 44a58bd

Please sign in to comment.