Sha256: 1e3457cb04f729e915985fe20cef8aaf25b2c69fd5e479156fb0e42ef77d4d79
Contents?: true
Size: 605 Bytes
Versions: 32
Compression:
Stored size: 605 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment01 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_comment01 @xlsx = 'comment01.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet worksheet.write('A1', 'Foo') worksheet.write_comment('B2', 'Some text') # Set the author to match the target XLSX file. worksheet.comments_author = 'John' workbook.close compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx) end end
Version data entries
32 entries across 32 versions & 1 rubygems