Sha256: fcc7cf0cab65bb8e528d9ce4d314ceb4b9a931f7ccbf0bd1bc8e98b7038fa6b8

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

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

class TestRegressionEscapes08 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_escapes08
    @xlsx = 'escapes08.xlsx'
    workbook   = WriteXLSX.new(@io)
    worksheet  = workbook.add_worksheet

    # Test an already escaped string.
    worksheet.write_url(
                        'A1',
                        'http://example.com/%5b0%5d', 'http://example.com/[0]'
                        )

    workbook.close
    compare_for_regression
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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