Sha256: b2cea86ae6db93f5b2ebc2fe47b7ccb85cd5f5f3151a587c57419c0929cc60c6
Contents?: true
Size: 623 Bytes
Versions: 19
Compression:
Stored size: 623 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionEscapes02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_escapes02 @xlsx = 'escapes02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.write('A1', %q{"<>'&}) worksheet.write_comment('B2', %q{<>&"'}) # Set the author to match the target XLSX file. worksheet.comments_author = %q{I am '"<>&} workbook.close compare_for_regression( nil, { 'xl/workbook.xml' => ['<workbookView'] } ) end end
Version data entries
19 entries across 19 versions & 1 rubygems