Skip to content

Commit b9a8f36

Browse files
committed
test: use binmode for Windows
1 parent 3a92d03 commit b9a8f36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/csv/parse/test_skip_lines.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def test_default
1414
def parse(data, **options)
1515
# We use Tempfile here to use CSV::Parser::InputsScanner.
1616
Tempfile.open(["csv-", ".csv"]) do |file|
17+
file.binmode
1718
file.print(data)
1819
file.close
1920
CSV.open(file, **options) do |csv|

0 commit comments

Comments
 (0)