mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix spec to pass
This commit is contained in:
parent
82c8d8ea2f
commit
bb607f7c26
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ MYSQL_SLOW_LOGS
|
|||
insist { event.message.split("\n").size } == 5 # 5 lines
|
||||
|
||||
lines.split("\n")[1..5].each_with_index do |line, i|
|
||||
insist { event.message[i] } == line
|
||||
insist { event.message.split("\n")[i] } == line
|
||||
end
|
||||
|
||||
insist { event["user"] } == "someuser"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue