diff options
| -rw-r--r-- | spec/parcom_spec.cr | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/parcom_spec.cr b/spec/parcom_spec.cr index 2fff7fc..b2a3a80 100644 --- a/spec/parcom_spec.cr +++ b/spec/parcom_spec.cr @@ -93,32 +93,6 @@ describe Parser do result.should be_a(Result(Char, Char)) end end - - describe "#|" do - it "creates an `Alt` instance from `self` and another `Parser(T, V)`" do - p_alt = p | p - - p_alt.should be_a(Alt(Char, Char)) - end - end - - describe "#assert" do - it "creates an `Assert` instance from `self` and a `Proc(T, Bool)`" do - f = ->(x : Char) { x == '#' } - p_assert = p.assert(f) - - p_assert.should be_a(Assert(Char, Char)) - end - end - - describe "#map" do - it "creates a `Map(T, V, U)` instance from `self` and a Proc(V, U)" do - f = ->(x : Char) { x.letter? } - p_map = p.map(f) - - p_map.should be_a(Map(Char, Char, Bool)) - end - end end describe Flunk do |
