summaryrefslogtreecommitdiff
path: root/test/csv/write/test_converters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/write/test_converters.rb')
-rw-r--r--test/csv/write/test_converters.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/csv/write/test_converters.rb b/test/csv/write/test_converters.rb
index a93b1040ac6..0e0080b4c5c 100644
--- a/test/csv/write/test_converters.rb
+++ b/test/csv/write/test_converters.rb
@@ -20,14 +20,14 @@ module TestCSVWriteConverters
end
def test_nil_value
- assert_equal(%Q[a,NaN,c\n],
- generate_line(["a", nil, "c"],
+ assert_equal(%Q[a,NaN,29\n],
+ generate_line(["a", nil, 29],
write_nil_value: "NaN"))
end
def test_empty_value
- assert_equal(%Q[a,,c\n],
- generate_line(["a", "", "c"],
+ assert_equal(%Q[a,,29\n],
+ generate_line(["a", "", 29],
write_empty_value: nil))
end
end