spec/patternmatching_spec.rb in patternmatching-0.2.4 vs spec/patternmatching_spec.rb in patternmatching-0.2.5

- old
+ new

@@ -102,16 +102,16 @@ result = make is do seems as {exact([:a,:b,:c])} do # not match a.to_s + " and " + b.to_s + " and" + c.to_s end seems as {exact([:a,:b, _!(:c)])} do - a.to_s + ", " + b.to_s + " and " + c.to_s + a.to_s + ", " + b.to_s + " and " + c.join(", ") end seems something do "not matched" end end - result.should == "1, 2 and 345" + result.should == "1, 2 and 3, 4, 5" end it "should look Just Enumerable pattern." do is = build { exact([1,2,3,4,5]) } result = make is do