Sha256: b3550e267a45ef9777326cd91cd6e43775f6d6b303027248598b5b895936b302

Contents?: true

Size: 563 Bytes

Versions: 7

Compression:

Stored size: 563 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_hyperlink12
    @xlsx = 'hyperlink12.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet
    format    = workbook.add_format(:color => 'blue', :underline => 1)

    worksheet.write_url('A1', 'mailto:jmcnamara@cpan.org', format)
    worksheet.write_url('A3', 'ftp://perl.org/', format)

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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