spec/evaluator_spec.rb in dentaku-0.1.2 vs spec/evaluator_spec.rb in dentaku-0.1.3

- old
+ new

@@ -20,9 +20,10 @@ evaluator.evaluate([]).should eq(0) end it 'single numeric should return value' do evaluator.evaluate([Dentaku::Token.new(:numeric, 10)]).should eq(10) + evaluator.evaluate([Dentaku::Token.new(:string, 'a')]).should eq('a') end it 'should evaluate one apply step' do stream = ts(1, :add, 1, :add, 1) expected = ts(2, :add, 1)