Permalink
Browse files

. 1.8 code

  • Loading branch information...
1 parent 32b04a5 commit f5f8cdac731c1a16590cb8421cb75cf1b08f4f8f @kschiess committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/parslet/atoms/base_spec.rb
@@ -93,7 +93,7 @@ def unnamed(obj)
let(:parslet) { Parslet.str('foo') >> Parslet.str('bar') }
it "returns the first half on a prefix parse" do
- parslet.parse('foobarbaz', prefix: true).should == 'foobar'
+ parslet.parse('foobarbaz', :prefix => true).should == 'foobar'
end
end

0 comments on commit f5f8cda

Please sign in to comment.