diff --git a/test/test.ts b/test/test.ts index 598ab98..474ec16 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1438,15 +1438,11 @@ test('is.emptyStringOrWhitespace', t => { test('is.nonEmptyStringAndNotWhitespace', t => { t.false(is.nonEmptyStringAndNotWhitespace(' ')); - t.false(is.nonEmptyStringAndNotWhitespace(String())); t.true(is.nonEmptyStringAndNotWhitespace('🦄')); t.throws(() => { assert.nonEmptyStringAndNotWhitespace(''); }); - t.throws(() => { - assert.nonEmptyStringAndNotWhitespace(String()); - }); t.notThrows(() => { assert.nonEmptyStringAndNotWhitespace('🦄'); });