mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Add test coverage for LOGSTASH-705
This commit is contained in:
parent
57c9d2c41c
commit
cdb2d442ef
1 changed files with 6 additions and 1 deletions
|
@ -142,7 +142,12 @@ describe LogStash::Filters::Date do
|
||||||
}
|
}
|
||||||
CONFIG
|
CONFIG
|
||||||
|
|
||||||
sample "@fields" => { "mydate" => "Jun 12 11:22:33" } do
|
sample "@fields" => { "mydate" => "this will not parse" } do
|
||||||
|
# nothing to do, if this crashes it's an error..
|
||||||
|
end
|
||||||
|
|
||||||
|
# No 'mydate' field at all
|
||||||
|
sample "@fields" => { } do
|
||||||
# nothing to do, if this crashes it's an error..
|
# nothing to do, if this crashes it's an error..
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue