diff options
| author | Matthew Hall <hallmatthew314@gmail.com> | 2023-03-30 21:55:38 +1300 |
|---|---|---|
| committer | Matthew Hall <hallmatthew314@gmail.com> | 2023-03-30 21:55:38 +1300 |
| commit | 4a502b4f55e7c49e8a8322b694d7e00468aa431d (patch) | |
| tree | 632a9b24c89e64e2ac99e6cda7840571f1c9b93c | |
| parent | e5796552a7f0e8a3ff6de2c0a97d61dc22c0466b (diff) | |
Remove test for allowing between's min/max values in either order
| -rw-r--r-- | spec/parcom_spec.cr | 10 |
1 files changed, 0 insertions, 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) |
