Sha256: 59ccc78e606309355daff40ff11c16f0ee24c622017491c71a306b83ab21c171

Contents?: true

Size: 731 Bytes

Versions: 18

Compression:

Stored size: 731 Bytes

Contents

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

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

  def teardown
    File.delete(@xlsx) if File.exist?(@xlsx)
  end

  def test_escapes08
    @xlsx = 'escapes08.xlsx'
    workbook   = WriteXLSX.new(@xlsx)
    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_xlsx_for_regression(
                                File.join(@regression_output, @xlsx),
                                @xlsx
                                )
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
write_xlsx-0.85.5 test/regression/test_escapes08.rb
write_xlsx-0.85.4 test/regression/test_escapes08.rb
write_xlsx-0.85.3 test/regression/test_escapes08.rb
write_xlsx-0.85.2 test/regression/test_escapes08.rb
write_xlsx-0.85.1 test/regression/test_escapes08.rb
write_xlsx-0.83.0 test/regression/test_escapes08.rb
write_xlsx-0.81.1 test/regression/test_escapes08.rb
write_xlsx-0.81.0 test/regression/test_escapes08.rb
write_xlsx-0.80.0 test/regression/test_escapes08.rb
write_xlsx-0.79.0 test/regression/test_escapes08.rb
write_xlsx-0.78.0 test/regression/test_escapes08.rb
write_xlsx-0.77.2 test/regression/test_escapes08.rb
write_xlsx-0.77.1 test/regression/test_escapes08.rb
write_xlsx-0.77.0 test/regression/test_escapes08.rb
write_xlsx-0.76.3 test/regression/test_escapes08.rb
write_xlsx-0.76.2 test/regression/test_escapes08.rb
write_xlsx-0.76.1 test/regression/test_escapes08.rb
write_xlsx-0.76.0 test/regression/test_escapes08.rb