test/regression/test_hyperlink02.rb in write_xlsx-0.90.0 vs test/regression/test_hyperlink02.rb in write_xlsx-0.97.0
- old
+ new
@@ -13,9 +13,12 @@
def test_hyperlink02
@xlsx = 'hyperlink02.xlsx'
workbook = WriteXLSX.new(@io)
worksheet = workbook.add_worksheet
+ # Turn off default URL format for testing.
+ worksheet.instance_variable_set(:@default_url_format, nil)
+
worksheet.write('A1', 'http://www.perl.org/')
worksheet.write('D4', 'http://www.perl.org/')
worksheet.write('A8', 'http://www.perl.org/')
worksheet.write('B6', 'http://www.cpan.org/')
worksheet.write('F12', 'http://www.cpan.org/')