Sha256: 64a83494043b3417b1c015ccc8701ed2562dc9553429c533306a33d33730a9a9

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 Bytes

Contents

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

class TestRegressionEscapes05 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_escapes05
    @xlsx = 'escapes05.xlsx'
    workbook    = WriteXLSX.new(@io)
    worksheet1  = workbook.add_worksheet('Start')
    worksheet2  = workbook.add_worksheet('A & B')

    worksheet1.write_url('A1', "internal:'A & B'!A1", 'Jump to A & B')

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
write_xlsx-0.90.0 test/regression/test_escapes05.rb
write_xlsx-0.89.0 test/regression/test_escapes05.rb
write_xlsx-0.88.0 test/regression/test_escapes05.rb
write_xlsx-0.87.0 test/regression/test_escapes05.rb