Sha256: 4baaddc365b6e23901960c8d5a199ad3806f24a08615233f5eba646ba934cff1

Contents?: true

Size: 585 Bytes

Versions: 10

Compression:

Stored size: 585 Bytes

Contents

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

class TestRegressionComment15 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_comment15
    @xlsx = 'comment15.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet
    format1   = workbook.add_format(:bold => 1)

    worksheet.write('A1', 'Foo', format1)
    worksheet.write_comment('B2', 'Some text')

    # Set the author to match the target XLSX file.
    worksheet.comments_author = 'John'

    workbook.close
    compare_for_regression
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_comment15.rb
write_xlsx-1.09.3 test/regression/test_comment15.rb
write_xlsx-1.09.2 test/regression/test_comment15.rb
write_xlsx-1.09.1 test/regression/test_comment15.rb
write_xlsx-1.09.0 test/regression/test_comment15.rb
write_xlsx-1.08.2 test/regression/test_comment15.rb
write_xlsx-1.08.1 test/regression/test_comment15.rb
write_xlsx-1.08.0 test/regression/test_comment15.rb
write_xlsx-1.07.0 test/regression/test_comment15.rb
write_xlsx-1.04.0 test/regression/test_comment15.rb