From 13abd071009c66c0368a28a5897837c84f8762ee Mon Sep 17 00:00:00 2001 From: Julian Scheid Date: Thu, 24 Jul 2014 20:22:13 +0200 Subject: [PATCH] Fix quotes value for per-column quoting tests --- tests/test-cases.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-cases.js b/tests/test-cases.js index c9a237e..43b44ff 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -542,13 +542,13 @@ var UNPARSE_TESTS = [ { description: "Force quotes around certain fields only", input: [['a', 'b', 'c'], ['d', 'e', 'f']], - config: { quotes: [0, 2] }, + config: { quotes: [true, false, true] }, expected: '"a",b,"c"\r\n"d",e,"f"' }, { description: "Force quotes around certain fields only (with header row)", input: [{ "Col1": "a", "Col2": "b", "Col3": "c" }, { "Col1": "d", "Col2": "e", "Col3": "f" }], - config: { quotes: [0, 2] }, + config: { quotes: [true, false, true] }, expected: '"Col1",Col2,"Col3"\r\n"a",b,"c"\r\n"d",e,"f"' }, {