# -*- coding: utf-8 -*- require 'helper' class TestAutofilter01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_autofilter01 @xlsx = 'autofilter01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet data = [] data_lines.split(/\n/).each { |line| data << line.split } worksheet.autofilter('A1:D51') worksheet.write('A1', [data]) workbook.close compare_for_regression( nil, {'xl/workbook.xml' => ['