Updated XPath compiler arity spec

This commit is contained in:
Yorick Peterse committed 2015-08-19 20:14:24 +02:00
1 parent b217aab2cb
commit aaba0049ab
1 file changed
+1 -1
+1 -1
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