spec/ast/and_spec.rb in dentaku-2.0.6 vs spec/ast/and_spec.rb in dentaku-2.0.7

- old
+ new

@@ -15,10 +15,10 @@ end it 'requires logical operands' do expect { described_class.new(t, five) - }.to raise_error(RuntimeError, /requires logical operands/) + }.to raise_error(Dentaku::ParseError, /requires logical operands/) expression = Dentaku::AST::LessThanOrEqual.new(five, five) expect { described_class.new(t, expression) }.not_to raise_error