Cleanup test method flags.

This commit is contained in:
John-David Dalton
2016-08-27 19:43:44 -07:00
parent d7e60cb6d0
commit 021df666a3

View File

@@ -7206,7 +7206,7 @@
lodashStable.each(['assign', 'assignIn', 'defaults', 'defaultsDeep', 'merge'], function(methodName) {
var func = _[methodName],
isAssign = methodName == 'assign',
isDefaults = methodName == 'defaults' || methodName == 'defaultsDeep';
isDefaults = /^defaults/.test(methodName);
QUnit.test('`_.' + methodName + '` should coerce primitives to objects', function(assert) {
assert.expect(1);
@@ -19706,7 +19706,7 @@
lodashStable.each(['update', 'updateWith', 'set', 'setWith'], function(methodName) {
var func = _[methodName],
isUpdate = methodName == 'update' || methodName == 'updateWith';
isUpdate = /^update/.test(methodName);
var oldValue = 1,
value = 2,