From 3d24a6a383e8e537f091acec1b0255e14377989e Mon Sep 17 00:00:00 2001 From: Puzzleton Date: Wed, 28 Aug 2019 11:55:46 -0500 Subject: [PATCH] Removed tests for quotes determined by column id --- tests/test-cases.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/test-cases.js b/tests/test-cases.js index 81d2558..0c4ab04 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -1723,18 +1723,6 @@ var UNPARSE_TESTS = [ config: { quotes: function(value) { return typeof value === 'string'; } }, expected: '"Col1","Col2","Col3"\r\n"a","b","c"\r\n"d",10,true' }, - { - description: "Force quotes around values in first column only", - input: [['a', 'b', 'c'], ['d', 10, true]], - config: { quotes: function(value, col) { return col === 0; } }, - expected: '"a",b,c\r\n"d",10,true' - }, - { - description: "Force quotes around values in first column only (with header row)", - input: [{ "Col1": "a", "Col2": "b", "Col3": "c" }, { "Col1": "d", "Col2": 10, "Col3": true }], - config: { quotes: function(value, col) { return col === 0; } }, - expected: '"Col1",Col2,Col3\r\n"a",b,c\r\n"d",10,true' - }, { description: "Empty input", input: [],