From 75cfd1cbe2a63d1d5d192c0e5363535c9f57be04 Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Thu, 11 Apr 2024 17:00:05 +0200 Subject: [PATCH] add test --- src/test/validation.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/validation.test.ts b/src/test/validation.test.ts index 55c0618d..de4e73f5 100644 --- a/src/test/validation.test.ts +++ b/src/test/validation.test.ts @@ -72,6 +72,7 @@ describe('validateVersion', () => { assert.throws(() => validateVersion('.0.1')); assert.throws(() => validateVersion('0.1.')); assert.throws(() => validateVersion('0.0.0.1')); + assert.throws(() => validateVersion('1.0.a')); }); });