Add test for default csv quote_char double quote "

This commit is contained in:
Alex Markham 2013-10-16 15:52:51 +01:00
parent 44a9bca63e
commit 4429f06a51

View file

@ -51,6 +51,20 @@ describe LogStash::Filters::CSV do
end
end
describe "default quote char" do
config <<-CONFIG
filter {
csv {
}
}
CONFIG
sample 'big,bird,"sesame, street"' do
insist { subject["column1"] } == "big"
insist { subject["column2"] } == "bird"
insist { subject["column3"] } == "sesame, street"
end
end
describe "null quote char" do
config <<-CONFIG
filter {