forked from extern/bruno
Merge pull request #457 from Sl-Alex/bugfix/between-assert
Fix 'between' assertion
This commit is contained in:
commit
c91bc0d1c6
@ -268,7 +268,7 @@ class AssertRuntime {
|
||||
expect(lhs).to.endWith(rhs);
|
||||
break;
|
||||
case 'between':
|
||||
const [min, max] = value.split(',');
|
||||
const [min, max] = rhs;
|
||||
expect(lhs).to.be.within(min, max);
|
||||
break;
|
||||
case 'isEmpty':
|
||||
|
Loading…
Reference in New Issue
Block a user