mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Simplify _.once test.
This commit is contained in:
@@ -14354,7 +14354,7 @@
|
|||||||
throw new Error;
|
throw new Error;
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.raises(function() { once(); }, Error);
|
assert.raises(once);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
once();
|
once();
|
||||||
|
|||||||
Reference in New Issue
Block a user