test/workbook/worksheet/tc_worksheet.rb in axlsx-1.0.15 vs test/workbook/worksheet/tc_worksheet.rb in axlsx-1.0.16

- old
+ new

@@ -67,9 +67,16 @@ end assert_equal(@ws.rows.first.cells[1].style, 0) assert_equal(@ws.rows.first.cells[0].style, 0) end + def test_col_style_with_empty_column + @ws.add_row [1,2,3,4] + @ws.add_row [1] + @ws.add_row [1,2,3,4] + assert_nothing_raised {@ws.col_style(1, 1)} + end + def test_cols @ws.add_row [1,2,3,4] @ws.add_row [1,2,3,4] @ws.add_row [1,2,3,4] @ws.add_row [1,2,3,4]