Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

. trying to reproduce a bug

  • Loading branch information...
commit a96cf6a5745f741fd105fc4954d66425b4d7dc2f 1 parent 86b3b42
@kschiess authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  spec/parslet_spec.rb
View
2  spec/parslet_spec.rb
@@ -264,6 +264,8 @@ def call(val)
[ ['a', 'b'], 'ab' ],
[ [{:a => :b}, 'a', {:c=>:d}], {:a => :b, :c=>:d} ],
[ [{:a => :b}, {:a=>:d}], {:a => :d} ],
+ [ [{:a=>:b}, [["\n", nil]]], {:a=>:b} ],
+ [ [nil, " "], ' ' ],
].each do |input, output|
it "should #{input.inspect} to #{output.inspect}" do
call(input).should == output
Please sign in to comment.
Something went wrong with that request. Please try again.