mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
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.
This commit is contained in:
@@ -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?
|
||||
|
||||
|
Reference in New Issue
Block a user