Sha256: f9e8ca89d05224c67c9a4e1e5342777d052cc436feefa7ef0574f8555bb48971

Contents?: true

Size: 611 Bytes

Versions: 19

Compression:

Stored size: 611 Bytes

Contents

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

class TestRegressionSimple04 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_simple04
    @xlsx = 'simple04.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.set_column(0, 0, 12)

    format1 = workbook.add_format(:num_format => 20)
    format2 = workbook.add_format(:num_format => 14)

    worksheet.write_date_time(0, 0, 'T12:00', format1)
    worksheet.write_date_time(1, 0, '2013-01-27T', format2)

    workbook.close
    compare_for_regression
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_simple04.rb
write_xlsx-1.09.3 test/regression/test_simple04.rb
write_xlsx-1.09.2 test/regression/test_simple04.rb
write_xlsx-1.09.1 test/regression/test_simple04.rb
write_xlsx-1.09.0 test/regression/test_simple04.rb
write_xlsx-1.08.2 test/regression/test_simple04.rb
write_xlsx-1.08.1 test/regression/test_simple04.rb
write_xlsx-1.08.0 test/regression/test_simple04.rb
write_xlsx-1.07.0 test/regression/test_simple04.rb
write_xlsx-1.04.0 test/regression/test_simple04.rb
write_xlsx-1.02.0 test/regression/test_simple04.rb
write_xlsx-1.01.0 test/regression/test_simple04.rb
write_xlsx-1.00.0 test/regression/test_simple04.rb
write_xlsx-0.99.0 test/regression/test_simple04.rb
write_xlsx-0.97.0 test/regression/test_simple04.rb
write_xlsx-0.90.0 test/regression/test_simple04.rb
write_xlsx-0.89.0 test/regression/test_simple04.rb
write_xlsx-0.88.0 test/regression/test_simple04.rb
write_xlsx-0.87.0 test/regression/test_simple04.rb