Sha256: 6fa42c82152ff7750612b90c78e05531ed2f75be95c8a46327174ff210b434fb

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_utf8_05
    @xlsx = 'utf8_05.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write('A1', '="Café"', nil, 'Café')

    workbook.close
    compare_for_regression(
                                [ 'xl/calcChain.xml', '[Content_Types].xml', 'xl/_rels/workbook.xml.rels' ],
                                {'xl/workbook.xml' => ['<workbookView']}
                                )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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