spec/expressive_spec.rb in expressive-0.0.24 vs spec/expressive_spec.rb in expressive-0.0.25
- old
+ new
@@ -35,10 +35,10 @@
it { Expressive.run("(+ 4 2)").should eql 6.0 }
it { Expressive.run("(- 4 2)").should eql 2.0 }
it { Expressive.run("(* 4 2)").should eql 8.0 }
it { Expressive.run("(/ 4 2)").should eql 2.0 }
it { Expressive.run("(sum 1 2 3)").should eql 6.0 }
- it { Expressive.run("(sub 1 2 3)").should eql -4.0 }
+ it { Expressive.run("($sub 1 2 3)").should eql -4.0 }
it { Expressive.run("(sum )").should eql 0 }
it { Expressive.run("(- (sum 1 5 7) 3)").should eql 10.0}
it { Expressive.run("(round 0.12345 2)").should eql 0.12}
end