From 0bb3fe00bd9cd5fa90466975795fe45ed6bf2b96 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 15 Oct 2025 15:33:16 -0300 Subject: validators, test: permissive typeless validateReference() Test appears to describe that the original behavior would have been to default to 'track', which like... okay?? That is so and was changed (to no default and arbitrary typeless behavior) in commit 4f6e0bc3. --- test/unit/data/validators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/unit/data/validators.js b/test/unit/data/validators.js index f5565c0b..02f94866 100644 --- a/test/unit/data/validators.js +++ b/test/unit/data/validators.js @@ -374,8 +374,8 @@ test(t, 'validateReference', t => { t.ok(typeless('Hopes and Dreams')); t.ok(typeless('track:snowdin-town')); + t.ok(typeless('album:undertale-soundtrack')); t.throws(() => typeless(''), TypeError); - t.throws(() => typeless('album:undertale-soundtrack')); }); test(t, 'validateReferenceList', t => { -- cgit 1.3.0-6-gf8a5