# -*- coding: utf-8 -*- require 'helper' class TestRegressionEscapes05 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_chart_escapes05 @xlsx = 'escapes05.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet1 = workbook.add_worksheet('Start') worksheet2 = workbook.add_worksheet('A & B') worksheet1.write_url('A1', "internal:'A & B'!A1", 'Jump to A & B') workbook.close compare_xlsx_for_regression( File.join(@regression_output, @xlsx), @xlsx, nil, { 'xl/workbook.xml' => ['