summaryrefslogtreecommitdiffhomepage
path: root/test/benchmark.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-13 16:31:13 +0200
committerGeremia Taglialatela <[email protected]>2023-05-03 16:05:36 +0200
commit191f8d31c71f43ee2c898bfedec657dd3e00a0f0 (patch)
treef7a5cd9db6cc265dda0a247cf6c5b509ebe486af /test/benchmark.rb
parent350f7ae9a04f3d39c099cc54f7c04bf31f385d96 (diff)
downloadcaxlsx-191f8d31c71f43ee2c898bfedec657dd3e00a0f0.tar.gz
caxlsx-191f8d31c71f43ee2c898bfedec657dd3e00a0f0.zip
Fix other non-production offenses
- Style/MethodCallWithoutArgsParentheses - Style/StringLiteralsInInterpolation
Diffstat (limited to 'test/benchmark.rb')
-rwxr-xr-xtest/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark.rb b/test/benchmark.rb
index 7cbffa32..9e651596 100755
--- a/test/benchmark.rb
+++ b/test/benchmark.rb
@@ -57,7 +57,7 @@ Benchmark.bmbm(30) do |x|
end
end
end
- s = p.to_stream()
+ s = p.to_stream
File.binwrite('example_streamed.xlsx', s.read)
end