summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-08-04 11:20:36 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-08-04 11:53:21 +0200
commitb8c08ba5add1406783cec2333d6ad7011a29e01f (patch)
tree39aea7f59113483e99af2dc885a81755f0fe7b51 /tests/data
parent7eedc2c34822f9b14f04e6866e73626959f6d647 (diff)
Tests: Improve coverage for `File::get_csv_line()`
Adds a few more complex edge cases which are supported. Also adds some documentation, simplifies the code a bit and forbids using double quotes as a delimiter.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/translations.csv5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/translations.csv b/tests/data/translations.csv
index 4c9ad4996a..8cb7b800c5 100644
--- a/tests/data/translations.csv
+++ b/tests/data/translations.csv
@@ -1,3 +1,8 @@
keys,en,de
GOOD_MORNING,"Good Morning","Guten Morgen"
GOOD_EVENING,"Good Evening",""
+Without quotes,"With, comma","With ""inner"" quotes","With ""inner"", quotes"","" and comma","With ""inner
+split"" quotes and
+line breaks","With \nnewline chars"
+Some other~delimiter~should still work, shouldn't it?
+What about tab separated lines, good?