diff options
author | andybarcia <andybarcia4@gmail.com> | 2021-03-19 19:50:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-19 12:47:44 +0200 |
commit | 553f4f8dcea90eb6241f7906479f5e7d24f02abd (patch) | |
tree | 2ea632a58c9d6d6921393ef2ad215d356bb760af /tests/data/testdata.csv | |
parent | 7188ed5f9140f6e2a38a24ac3364bba741b45135 (diff) | |
download | redot-engine-553f4f8dcea90eb6241f7906479f5e7d24f02abd.tar.gz |
Improve error reporting when parsing CSV translation file
Fixes #46682.
Also fix unit test suite to separate generic FileAccess CSV testing
from using CSV as translation. And add more CSV translation tests.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'tests/data/testdata.csv')
-rw-r--r-- | tests/data/testdata.csv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/testdata.csv b/tests/data/testdata.csv new file mode 100644 index 0000000000..8f5cc914ac --- /dev/null +++ b/tests/data/testdata.csv @@ -0,0 +1,8 @@ +Header 1,Header 2,Header 3,Header 4 +GOOD_MORNING,"Good Morning","Guten Morgen","Bonjour" +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? |