diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/data/things/validators.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/data/things/validators.js b/test/unit/data/things/validators.js index 178f8657..8fed27ff 100644 --- a/test/unit/data/things/validators.js +++ b/test/unit/data/things/validators.js @@ -227,7 +227,7 @@ t.test('isName', t => { t.plan(4); t.ok(isName('Dogz 2.0')); t.ok(isName('album:this-track-is-only-named-thusly-to-give-niklink-a-headache')); - t.ok(isName('')); + t.throws(() => isName('')); t.throws(() => isName(612)); }); |