README.md in dry-behaviour-0.5.1 vs README.md in dry-behaviour-0.5.2
- old
+ new
@@ -86,10 +86,10 @@
it 'performs routing to function clauses as by guards' do
expect(gt.a(42, 'Hello')).to eq(1)
expect(gt.a(42)).to eq(2)
expect(gt.a(3.14)).to eq(3)
expect(gt.a(3)).to eq(4)
- # expect(gt.a('Hello', &-> { puts 0 })).to eq(5) NYI
+ expect(gt.a('Hello', &-> { puts 0 })).to eq(5)
expect(gt.a(*%w|1 2 3|)).to eq(6)
expect(gt.a('Hello')).to eq('ALL')
end
```