From 4a502b4f55e7c49e8a8322b694d7e00468aa431d Mon Sep 17 00:00:00 2001 From: Matthew Hall Date: Thu, 30 Mar 2023 21:55:38 +1300 Subject: Remove test for allowing between's min/max values in either order --- spec/parcom_spec.cr | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spec/parcom_spec.cr b/spec/parcom_spec.cr index 2b7a447..42188fb 100644 --- a/spec/parcom_spec.cr +++ b/spec/parcom_spec.cr @@ -692,16 +692,6 @@ describe Parser do end end - it "accepts either order for `n` and `m`" do - p1 = a.between(1,2) - r1 = p1.parse(tokens) - - p2 = a.between(2,1) - r2 = p1.parse(tokens) - - r1.should eq(r2) - end - it "accepts `0` for `n` and `m`" do p = a.between(0, 2) result = p.parse(tokens) -- cgit v1.2.1