mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Simplify test descriptions.
This commit is contained in:
10
test/test.js
10
test/test.js
@@ -6135,7 +6135,7 @@
|
|||||||
QUnit.module('lodash.gt');
|
QUnit.module('lodash.gt');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
QUnit.test('should return `true` if `value` is greater than `other`', function(assert) {
|
QUnit.test('should return `true` if `value` > `other`', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
assert.strictEqual(_.gt(3, 1), true);
|
assert.strictEqual(_.gt(3, 1), true);
|
||||||
@@ -6157,7 +6157,7 @@
|
|||||||
QUnit.module('lodash.gte');
|
QUnit.module('lodash.gte');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
QUnit.test('should return `true` if `value` is greater than or equal to `other`', function(assert) {
|
QUnit.test('should return `true` if `value` >= `other`', function(assert) {
|
||||||
assert.expect(4);
|
assert.expect(4);
|
||||||
|
|
||||||
assert.strictEqual(_.gte(3, 1), true);
|
assert.strictEqual(_.gte(3, 1), true);
|
||||||
@@ -6776,7 +6776,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should swap `start` and `end` when `start` is greater than `end`', function(assert) {
|
QUnit.test('should swap `start` and `end` when `start` > `end`', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
assert.strictEqual(_.inRange(2, 5, 1), true);
|
assert.strictEqual(_.inRange(2, 5, 1), true);
|
||||||
@@ -11024,7 +11024,7 @@
|
|||||||
assert.strictEqual(_.lt('abc', 'def'), true);
|
assert.strictEqual(_.lt('abc', 'def'), true);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should return `false` if `value` is greater than or equal to `other`', function(assert) {
|
QUnit.test('should return `false` if `value` >= `other`', function(assert) {
|
||||||
assert.expect(4);
|
assert.expect(4);
|
||||||
|
|
||||||
assert.strictEqual(_.lt(3, 1), false);
|
assert.strictEqual(_.lt(3, 1), false);
|
||||||
@@ -11048,7 +11048,7 @@
|
|||||||
assert.strictEqual(_.lte('def', 'def'), true);
|
assert.strictEqual(_.lte('def', 'def'), true);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should return `false` if `value` is greater than `other`', function(assert) {
|
QUnit.test('should return `false` if `value` > `other`', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
assert.strictEqual(_.lt(3, 1), false);
|
assert.strictEqual(_.lt(3, 1), false);
|
||||||
|
|||||||
Reference in New Issue
Block a user