mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Get tests working for eventv1.
This commit is contained in:
parent
389327708e
commit
ae5c473ffc
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@ describe LogStash::Event do
|
|||
"d" => "f",
|
||||
"e" => {"f" => "g"}
|
||||
},
|
||||
"c" => { "d" => "e" },
|
||||
"f" => {"g" => {
|
||||
"h" => "i"
|
||||
}
|
||||
|
@ -62,7 +61,7 @@ describe LogStash::Event do
|
|||
end
|
||||
it "should fetch fields" do
|
||||
insist { @event["a"] } == "b"
|
||||
insist { @event['c']['d'] } == "e"
|
||||
insist { @event['c']['d'] } == "f"
|
||||
end
|
||||
it "should fetch deep fields" do
|
||||
insist { @event["[j][k1]"] } == "v"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue