Comparing version 1.0.1 to 1.0.2
@@ -17,2 +17,3 @@ 'use strict'; | ||
find: function (verb) { | ||
if (!verb) { return []; } | ||
verb = verb.toLowerCase(); | ||
@@ -19,0 +20,0 @@ return this.fixtures.filter(function (verbs) { |
{ | ||
"name": "irverbs", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Console util helps to find irregular verbs", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -83,3 +83,3 @@ 'use strict'; | ||
it('by empty search', function () { | ||
var verbs = irverbs.find('return'); | ||
var verbs = irverbs.find(); | ||
verbs.should.be.instanceof(Array).and.have.lengthOf(0); | ||
@@ -86,0 +86,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18395
321