« get me outta code hell

test: validators: here we go again - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-15 15:29:02 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-15 15:29:02 -0300
commit6a62e47e1e2dd928de0d5473c4c9dc5ef25fdce6 (patch)
tree46536113a39318301b80c8c15a5694e2a3d2528d /test
parent4c225480eded40ef45d888b473fbc02d862dd59b (diff)
test: validators: here we go again
Diffstat (limited to 'test')
-rw-r--r--test/unit/data/validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/data/validators.js b/test/unit/data/validators.js
index 3a217d6f..f5565c0b 100644
--- a/test/unit/data/validators.js
+++ b/test/unit/data/validators.js
@@ -339,7 +339,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.throws(() => isName(''));
+  t.ok(() => isName(''));
   t.throws(() => isName(612));
 });