Add a test to expose a bug with last quoted field and trailing \r\n - csvtofsv - Convert CSV to FSV (`fs' (0x1c) as FS and `rs' (0x1e) as RS)
(HTM) hg clone https://bitbucket.org/iamleot/csvtofsv
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset 7c9a170853ec8338aa66cd5b7587dcc81ade6f5d
(DIR) parent b3a2dd8e68b2388c15f366728c9fae881b88fb1e
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 27 Jun 2019 01:48:36
Add a test to expose a bug with last quoted field and trailing \r\n
Diffstat:
t/12.csv | 1 +
t/12.fsv | 1 +
t/Makefile | 2 +-
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff -r b3a2dd8e68b2 -r 7c9a170853ec t/12.csv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/t/12.csv Thu Jun 27 01:48:36 2019 +0200
@@ -0,0 +1,1 @@
+"a single field"
diff -r b3a2dd8e68b2 -r 7c9a170853ec t/12.fsv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/t/12.fsv Thu Jun 27 01:48:36 2019 +0200
@@ -0,0 +1,1 @@
+a single field
\ No newline at end of file
diff -r b3a2dd8e68b2 -r 7c9a170853ec t/Makefile
--- a/t/Makefile Thu Jun 27 01:39:45 2019 +0200
+++ b/t/Makefile Thu Jun 27 01:48:36 2019 +0200
@@ -1,4 +1,4 @@
-TESTS= 01 02 03 04 05 06 07 08 09 10 11
+TESTS= 01 02 03 04 05 06 07 08 09 10 11 12
CSVTOFSV?= ../csvtofsv