summaryrefslogtreecommitdiffhomepage
path: root/test/benchmark.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
committerGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
commit55526805cf28cc91a22df5811b26cd23bdefa8d3 (patch)
tree2cbc6403b385078b0ed5e275c49f0c60522bdd16 /test/benchmark.rb
parentacf00d356494ef504c3de0e4a0db6b25f2bd7636 (diff)
downloadcaxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.tar.gz
caxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.zip
Fix space-related offenses
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
Diffstat (limited to 'test/benchmark.rb')
-rw-r--r--test/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark.rb b/test/benchmark.rb
index e9f6c22b..3c0ebc95 100644
--- a/test/benchmark.rb
+++ b/test/benchmark.rb
@@ -6,7 +6,7 @@ require 'benchmark'
Axlsx::trust_input = true
row = []
input = (32..126).to_a.pack('U*').chars.to_a
-20.times { row << input.shuffle.join}
+20.times { row << input.shuffle.join }
times = 3000
Benchmark.bmbm(30) do |x|
x.report('axlsx_noautowidth') {