diff options
Diffstat (limited to 'test/workbook/tc_shared_strings_table.rb')
| -rw-r--r-- | test/workbook/tc_shared_strings_table.rb | 2 |
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 de748ba4..2f7de9a7 100644 --- a/test/workbook/tc_shared_strings_table.rb +++ b/test/workbook/tc_shared_strings_table.rb @@ -54,7 +54,7 @@ class TestSharedStringsTable < Test::Unit::TestCase assert @p.workbook.shared_strings.unique_cells.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}/o, @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") |
