Sha256: 8eb6c727c9b4ab3427beb59c9f3d3afc1fd411ea5ddb596582cbca8762f05a63

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

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

class TestRegressionHyperlink12 < Minitest::Test
  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

4 entries across 4 versions & 1 rubygems

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