Sha256: b1b41995c913b2073a46c60e09f5f3171192277643e0e9800003f50006704159
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
require "test_utils" require "logstash/filters/punct" describe LogStash::Filters::Punct do extend LogStash::RSpec describe "all defaults" do config <<-CONFIG filter { punct { } } CONFIG sample "PHP Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in /var/www/htdocs/test.php on line 233" do insist { subject["punct"] } == ":_()[<='.-'>.-</>]:-////." end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
logstash-filter-punct-0.1.0 | spec/filters/punct.rb |
logstash-lib-1.3.2 | spec/filters/punct.rb |