# -*- coding: utf-8 -*- require 'helper' class TestRegressionHyperlink03 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_hyperlink03 @xlsx = 'hyperlink03.xlsx' workbook = WriteXLSX.new(@io) worksheet1 = workbook.add_worksheet worksheet2 = workbook.add_worksheet worksheet1.write_url('A1', 'http://www.perl.org/') worksheet1.write_url('D4', 'http://www.perl.org/') worksheet1.write_url('A8', 'http://www.perl.org/') worksheet1.write_url('B6', 'http://www.cpan.org/') worksheet1.write_url('F12', 'http://www.cpan.org/') worksheet2.write_url('C2', 'http://www.google.com/') worksheet2.write_url('C5', 'http://www.cpan.org/') worksheet2.write_url('C7', 'http://www.perl.org/') workbook.close compare_for_regression end end