Updated XPath compiler arity spec

This commit is contained in:
Yorick Peterse 2015-08-18 16:27:18 +02:00
parent b217aab2cb
commit aaba0049ab
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ describe Oga::XPath::Compiler do
ast = parse_xpath('foo')
# Only the input document is required.
@compiler.compile(ast).arity.should == 1
@compiler.compile(ast).arity.should == -2
end
describe 'calling the compiled Proc' do