mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Add another fp.inRange test.
This commit is contained in:
@@ -861,9 +861,10 @@
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
QUnit.test('should have an argument order of `start`, `end`, then `value`', function(assert) {
|
QUnit.test('should have an argument order of `start`, `end`, then `value`', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(2);
|
||||||
|
|
||||||
assert.strictEqual(fp.inRange(2)(4)(3), true);
|
assert.strictEqual(fp.inRange(2)(4)(3), true);
|
||||||
|
assert.strictEqual(fp.inRange(-2)(-6)(-3), true);
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user