Skip to content

Commit 8fee505

Browse files
BurdetteLamarkou
andauthored
Update test/csv/csv-filter/test_csv_filter.rb
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
1 parent 6a01bbf commit 8fee505

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/csv/csv-filter/test_csv_filter.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
class TestFilter < Test::Unit::TestCase
88

9-
# Some rows data (useful as default).
10-
Rows = [
11-
%w[aaa bbb ccc],
12-
%w[ddd eee fff],
13-
]
9+
def setup
10+
@rows = [
11+
%w[aaa bbb ccc],
12+
%w[ddd eee fff],
13+
]
14+
end
1415

1516
# Return CSV string generated from rows array and options.
1617
def make_csv_s(rows: Rows, **options)

0 commit comments

Comments
 (0)