summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRunar Ingebrigtsen <[email protected]>2015-11-18 14:21:58 +0100
committerRunar Ingebrigtsen <[email protected]>2015-11-18 14:21:58 +0100
commitec5ab8a5a624f2bcb2f341a219279d8d4264150d (patch)
treebbeb6d347b4fb7a21dcfc980cacbfca8ff0899b5 /test
parente977cf5232273fa45734cdb36f6fae4db2cbe781 (diff)
downloadcaxlsx-ec5ab8a5a624f2bcb2f341a219279d8d4264150d.tar.gz
caxlsx-ec5ab8a5a624f2bcb2f341a219279d8d4264150d.zip
remove some code reek
Diffstat (limited to 'test')
-rw-r--r--test/workbook/tc_shared_strings_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/workbook/tc_shared_strings_table.rb b/test/workbook/tc_shared_strings_table.rb
index 1656dfbd..25a0a0b2 100644
--- a/test/workbook/tc_shared_strings_table.rb
+++ b/test/workbook/tc_shared_strings_table.rb
@@ -49,7 +49,7 @@ class TestSharedStringsTable < Test::Unit::TestCase
assert @p.workbook.shared_strings.unique_cells.has_key?(nasties)
# test that none of the control characters are in the XML output for shared strings
- assert_no_match /#{Axlsx::CONTROL_CHARS}/, @p.workbook.shared_strings.to_xml_string
+ assert_no_match(/#{Axlsx::CONTROL_CHARS}/, @p.workbook.shared_strings.to_xml_string)
# assert that the shared string was normalized to remove the control characters
assert_not_nil @p.workbook.shared_strings.to_xml_string.index("helloworld")