mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-20 19:58:10 +02:00
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);
|
expect(lhs).to.endWith(rhs);
|
||||||
break;
|
break;
|
||||||
case 'between':
|
case 'between':
|
||||||
const [min, max] = value.split(',');
|
const [min, max] = rhs;
|
||||||
expect(lhs).to.be.within(min, max);
|
expect(lhs).to.be.within(min, max);
|
||||||
break;
|
break;
|
||||||
case 'isEmpty':
|
case 'isEmpty':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user