summaryrefslogtreecommitdiffhomepage
path: root/test/tc_axlsx.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-22 20:13:13 +0200
committerGeremia Taglialatela <[email protected]>2023-05-22 20:13:13 +0200
commit083c4c6d62011cd88966d608b0c6bb736f300a0c (patch)
treeb5ceb9b3a32c4130d84c3075966b4033bf32a118 /test/tc_axlsx.rb
parent6752225bbb8a9eec905ec02a98f1a25a309c404a (diff)
downloadcaxlsx-083c4c6d62011cd88966d608b0c6bb736f300a0c.tar.gz
caxlsx-083c4c6d62011cd88966d608b0c6bb736f300a0c.zip
Use Ruby 1.9 hash syntax (non-production code)
Diffstat (limited to 'test/tc_axlsx.rb')
-rw-r--r--test/tc_axlsx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_axlsx.rb b/test/tc_axlsx.rb
index 3c4b5f93..f4f6a01d 100644
--- a/test/tc_axlsx.rb
+++ b/test/tc_axlsx.rb
@@ -50,7 +50,7 @@ class TestAxlsx < Test::Unit::TestCase
def test_cell_range_absolute
p = Axlsx::Package.new
- ws = p.workbook.add_worksheet :name => "Sheet <'>\" 1"
+ ws = p.workbook.add_worksheet name: "Sheet <'>\" 1"
row = ws.add_row
c1 = row.add_cell
c2 = row.add_cell