Sha256: 5a603d65b6234cfc14be8d155e0f8c76d99a5f0457473109d634451832c382fb

Contents?: true

Size: 634 Bytes

Versions: 7

Compression:

Stored size: 634 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionRowColFormat06 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_row_col_format06
    @xlsx = 'row_col_format06.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet
    bold      = workbook.add_format(:bold => 1)
    italic    = workbook.add_format(:italic => 1)

    worksheet.set_column('A:A', nil, bold)
    worksheet.set_column('C:C', nil, italic)

    worksheet.write('A1', 'Foo')
    worksheet.write('C1', 'Bar')

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_row_col_format06.rb
write_xlsx-0.85.11 test/regression/test_row_col_format06.rb
write_xlsx-0.85.10 test/regression/test_row_col_format06.rb
write_xlsx-0.85.9 test/regression/test_row_col_format06.rb
write_xlsx-0.85.8 test/regression/test_row_col_format06.rb
write_xlsx-0.85.7 test/regression/test_row_col_format06.rb
write_xlsx-0.85.6 test/regression/test_row_col_format06.rb