spec/ast/and_spec.rb in dentaku-2.0.2 vs spec/ast/and_spec.rb in dentaku-2.0.3

- old
+ new

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