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: [],