diff options
| author | Paul Kmiec <[email protected]> | 2023-05-04 16:31:08 -0700 |
|---|---|---|
| committer | Paul Kmiec <[email protected]> | 2023-05-04 18:02:55 -0700 |
| commit | fabe8cb2571c8865270247ca78ddc01d493a9ee1 (patch) | |
| tree | 27fe0b0df8c9bec8f746d92a0d128cad197027b2 /test/workbook/worksheet | |
| parent | fef93ec8ae2caf8a3f8310dbf8101c103e5905e4 (diff) | |
| download | caxlsx-fabe8cb2571c8865270247ca78ddc01d493a9ee1.tar.gz caxlsx-fabe8cb2571c8865270247ca78ddc01d493a9ee1.zip | |
Fix tests / code to work with frozen string literals
Diffstat (limited to 'test/workbook/worksheet')
| -rw-r--r-- | test/workbook/worksheet/tc_row.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/workbook/worksheet/tc_row.rb b/test/workbook/worksheet/tc_row.rb index 9336ae38..273487ac 100644 --- a/test/workbook/worksheet/tc_row.rb +++ b/test/workbook/worksheet/tc_row.rb @@ -133,7 +133,7 @@ class TestRow < Test::Unit::TestCase @row.outlineLevel = 2 @row.collapsed = true @row.hidden = true - r_s_xml = Nokogiri::XML(@row.to_xml_string(0, '')) + r_s_xml = Nokogiri::XML(@row.to_xml_string(0)) assert_equal(1, r_s_xml.xpath(".//row[@r=1]").size) end @@ -141,7 +141,7 @@ class TestRow < Test::Unit::TestCase def test_to_xml_string_with_custom_height @row.add_cell 1 @row.height = 20 - r_s_xml = Nokogiri::XML(@row.to_xml_string(0, '')) + r_s_xml = Nokogiri::XML(@row.to_xml_string(0)) assert_equal(1, r_s_xml.xpath(".//row[@r=1][@ht=20][@customHeight=1]").size) end |
