summaryrefslogtreecommitdiffhomepage
path: root/test/tc_package.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-13 17:16:49 +0200
committerGeremia Taglialatela <[email protected]>2023-05-03 16:05:38 +0200
commit6e215fa74d047a2d281a5b1caa891579198f7313 (patch)
treedb4b7e6e6089475c01e4880744202d604e2e8902 /test/tc_package.rb
parentf2e55f053bac8bc2a97f2208237608e20eb1eeaa (diff)
downloadcaxlsx-6e215fa74d047a2d281a5b1caa891579198f7313.tar.gz
caxlsx-6e215fa74d047a2d281a5b1caa891579198f7313.zip
Fix non-production Style/NumericLiterals offenses
Diffstat (limited to 'test/tc_package.rb')
-rw-r--r--test/tc_package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb
index 062c9c88..523e0e54 100644
--- a/test/tc_package.rb
+++ b/test/tc_package.rb
@@ -28,7 +28,7 @@ class TestPackage < Test::Unit::TestCase
vs.pane do |p|
p.active_pane = :top_right
p.state = :split
- p.x_split = 11080
+ p.x_split = 11_080
p.y_split = 5000
p.top_left_cell = 'C44'
end
@@ -327,7 +327,7 @@ class TestPackage < Test::Unit::TestCase
assert(stream.is_a?(StringIO))
# this is just a roundabout guess for a package as it is build now
# in testing.
- assert(stream.size > 80000)
+ assert(stream.size > 80_000)
# Stream (of zipped contents) should have appropriate default encoding
assert_predicate stream.string, :valid_encoding?
assert_equal(stream.external_encoding, Encoding::ASCII_8BIT)