test_csv.aug | |
Augeas Tests | |
CSV.lns | Simple test |
CSV.lns | Values with spaces |
CSV.lns | Quoted values |
CSV.lns | Empty values |
CSV.lns | Trailing spaces |
CSV.lns | Quoted values in quoted values |
CSV.lns | Quote in quoted values |
CSV.lns | Values with newlines |
CSV. | Semi-colon lens |
Simple test
test CSV.lns get "a,b,c\n" = { "1" { "1" = "a" } { "2" = "b" } { "3" = "c" } }
Semi-colon lens
test CSV.lns_semicol get "a;\"b;c\";d # comment # e;f;with space\n" = { "1" { "1" = "a" } { "2" = "\"b;c\"" } { "3" = "d" } } { "#comment" = "comment" } { } { "2" { "1" = "e" } { "2" = "f" } { "3" = "with space" } }