Fix typos in _.clamp test labels.

This commit is contained in:
John-David Dalton
2015-10-21 22:15:17 -07:00
parent f0c38a6419
commit 99a5fcc665

View File

@@ -2031,7 +2031,7 @@
QUnit.module('lodash.clamp');
(function() {
QUnit.test('should limit negative numbers', function(assert) {
QUnit.test('should clamp negative numbers', function(assert) {
assert.expect(3);
assert.strictEqual(_.clamp(-10, -5, 5), -5);
@@ -2039,7 +2039,7 @@
assert.strictEqual(_.clamp(-Infinity, -5, 5), -5);
});
QUnit.test('should limit posiive number', function(assert) {
QUnit.test('should clamp positive numbers', function(assert) {
assert.expect(3);
assert.strictEqual(_.clamp(10, -5, 5), 5)