summaryrefslogtreecommitdiffstats
path: root/test/csv/double-quotes
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/double-quotes')
-rw-r--r--test/csv/double-quotes/check.txt6
-rw-r--r--test/csv/double-quotes/input.csv3
2 files changed, 9 insertions, 0 deletions
diff --git a/test/csv/double-quotes/check.txt b/test/csv/double-quotes/check.txt
new file mode 100644
index 0000000..7bf03e1
--- /dev/null
+++ b/test/csv/double-quotes/check.txt
@@ -0,0 +1,6 @@
+data/0/0:string:"\"single literal quote\""
+data/0/1:string:"\"\"double literal quote\"\""
+data/0/2:string:"\"\"\"triple literal quote\"\"\""
+data/1/0:numeric:1
+data/1/1:numeric:2
+data/1/2:numeric:3
diff --git a/test/csv/double-quotes/input.csv b/test/csv/double-quotes/input.csv
new file mode 100644
index 0000000..3c8ee50
--- /dev/null
+++ b/test/csv/double-quotes/input.csv
@@ -0,0 +1,3 @@
+"""single literal quote""","""""double literal quote""""","""""""triple literal quote"""""""
+1,2,3
+