Sha256: 347001748eaffd4d78736f33c7f605555f0c3af829a233b7a75351fd4b930899

Contents?: true

Size: 575 Bytes

Versions: 42

Compression:

Stored size: 575 Bytes

Contents

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

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

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

  def test_hyperlink14
    @xlsx = 'hyperlink14.xlsx'
    workbook  = WriteXLSX.new(@xlsx)
    worksheet = workbook.add_worksheet
    format    = workbook.add_format(:align => 'center')

    worksheet.merge_range('C4:E5', 'http://www.perl.org/', format, 'Perl Home')

    workbook.close
    compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx)
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
write_xlsx-0.54.0 test/regression/test_hyperlink14.rb
write_xlsx-0.51.0 test/regression/test_hyperlink14.rb