Skip to content

Commit a3d292a

Browse files
#127 fix test randomly failing from incorrect assumption about key order in JSON hash
Fixes #128
1 parent 55223ee commit a3d292a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/filters/grok_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def pattern_path(path)
889889
insist { subject.to_json } =~ %r|"@version":"1"|
890890
insist { subject.to_json } =~ %r|"username"|i
891891
insist { subject.to_json } =~ %r|"testuser"|
892-
insist { subject.to_json } =~ %r|"tags":\["ssh_failure"\]}|
892+
insist { subject.to_json } =~ %r|"tags":\["ssh_failure"\]|
893893
end
894894
end
895895

0 commit comments

Comments
 (0)