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