summaryrefslogtreecommitdiffhomepage
path: root/test/workbook/worksheet/tc_row.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-17 20:37:28 +0900
committerRandy Morgan <[email protected]>2012-05-17 20:37:28 +0900
commitc8b40481b1ab947fbb783657e19749b59b716cfe (patch)
tree72c750aae7ef92627fdf3e2fdf53e2199270404f /test/workbook/worksheet/tc_row.rb
parent0297bd574791ac7781352c20db2eeaa2c1cea3f3 (diff)
downloadcaxlsx-c8b40481b1ab947fbb783657e19749b59b716cfe.tar.gz
caxlsx-c8b40481b1ab947fbb783657e19749b59b716cfe.zip
fix ALL the warnings!
Diffstat (limited to 'test/workbook/worksheet/tc_row.rb')
-rw-r--r--test/workbook/worksheet/tc_row.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/workbook/worksheet/tc_row.rb b/test/workbook/worksheet/tc_row.rb
index a5bacdbf..bfd5ae9f 100644
--- a/test/workbook/worksheet/tc_row.rb
+++ b/test/workbook/worksheet/tc_row.rb
@@ -39,7 +39,7 @@ class TestRow < Test::Unit::TestCase
def test_add_cell_autowidth_info
width = @ws.send :calculate_width, 'this is the cell of cells', @ws.workbook.styles.fonts.first.sz
- c = @row.add_cell("this is the cell of cells")
+ @row.add_cell("this is the cell of cells")
assert_equal(@ws.column_info.last.width, width)
end
@@ -91,7 +91,7 @@ class TestRow < Test::Unit::TestCase
assert_equal(2, @row.outlineLevel)
end
- def test_to_xml_without_custom_height
+ def test_to_xml_without_custom_height
doc = Nokogiri::XML.parse(@row.to_xml_string(0))
assert_equal(0, doc.xpath(".//row[@ht]").size)
assert_equal(0, doc.xpath(".//row[@customHeight]").size)