formater: add support for double-quoted fields
Part of #91. * spot/misc/formater.cc, spot/misc/formater.hh: Here. * bin/common_output.cc: Adjust automatic output format. * doc/org/csv.org: Adjust. * tests/core/lbt.test, tests/core/ltlfilt.test: More tests. * NEWS: Mention the changes.
This commit is contained in:
parent
6ed0830f87
commit
0d753048ce
7 changed files with 97 additions and 28 deletions
|
|
@ -348,4 +348,14 @@ test "`cat out`" = 'G F "a\"\\b"'
|
|||
$ltlfilt --size=foo=2..3 2>stderr && exit 1
|
||||
grep 'invalid range.*should start with' stderr
|
||||
|
||||
|
||||
cat >out <<EOF
|
||||
test1,"""a b"" U c"
|
||||
"""a b"" U c",test2
|
||||
EOF
|
||||
ltlfilt out/1 > out.1
|
||||
ltlfilt out/2 > out.2
|
||||
diff out out.1
|
||||
diff out out.2
|
||||
|
||||
true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue