test/regression/test_hyperlink11.rb in write_xlsx-0.90.0 vs test/regression/test_hyperlink11.rb in write_xlsx-0.97.0
- old
+ new
@@ -14,9 +14,12 @@
@xlsx = 'hyperlink11.xlsx'
workbook = WriteXLSX.new(@io)
worksheet = workbook.add_worksheet
format = workbook.add_format(:color => 'blue', :underline => 1)
+ # Turn off default URL format for testing.
+ worksheet.instance_variable_set(:@default_url_format, nil)
+
worksheet.write_url('A1', 'http://www.perl.org/', format)
workbook.close
compare_for_regression
end