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