Tweak truthy test for memoize resolve.

This commit is contained in:
John-David Dalton
2016-01-02 13:49:04 -06:00
parent 2316dff1e0
commit cd8218541a

View File

@@ -12650,7 +12650,7 @@
QUnit.test('should throw a TypeError if `resolve` is truthy and not a function', function(assert) {
assert.expect(1);
assert.raises(function() { _.memoize(noop, {}); }, TypeError);
assert.raises(function() { _.memoize(noop, true); }, TypeError);
});
QUnit.test('should not error if `resolver` is falsey', function(assert) {