spec/ast/and_spec.rb in dentaku-2.0.1 vs spec/ast/and_spec.rb in dentaku-2.0.2
- old
+ new
@@ -21,7 +21,12 @@
expression = Dentaku::AST::LessThanOrEqual.new(five, five)
expect {
described_class.new(t, expression)
}.not_to raise_error
+
+ expression = Dentaku::AST::Or.new(t, f)
+ expect {
+ described_class.new(t, expression)
+ }.not_to raise_error
end
end