From ec5ab8a5a624f2bcb2f341a219279d8d4264150d Mon Sep 17 00:00:00 2001 From: Runar Ingebrigtsen Date: Wed, 18 Nov 2015 14:21:58 +0100 Subject: remove some code reek --- test/workbook/tc_shared_strings_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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") -- cgit v1.2.3