Simplify _.once test.

This commit is contained in:
John-David Dalton
2016-01-03 21:16:51 -06:00
parent a74c71e423
commit b1ba01e85a

View File

@@ -14354,7 +14354,7 @@
throw new Error; throw new Error;
}); });
assert.raises(function() { once(); }, Error); assert.raises(once);
try { try {
once(); once();