spec/config/config_parser_spec.rb in fluentd-0.10.46 vs spec/config/config_parser_spec.rb in fluentd-0.10.47

- old
+ new

@@ -32,9 +32,16 @@ k1 v1 k2 v2 ].should be_parsed_as("k1"=>"v1", "k2"=>"v2") end + it "allows attribute without value" do + %[ + k1 + k2 v2 + ].should be_parsed_as("k1"=>"", "k2"=>"v2") + end + it "parses attribute key always string" do "1 1".should be_parsed_as("1" => "1") end [