Skip to content

Commit 1c0f80f

Browse files
committed
add test
1 parent 7105181 commit 1c0f80f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/validation.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ describe('validateVersion', () => {
7373
assert.throws(() => validateVersion('0.1.'));
7474
assert.throws(() => validateVersion('0.0.0.1'));
7575
assert.throws(() => validateVersion('1.0-pre'));
76+
assert.throws(() => validateVersion('pre'));
7677
});
7778
});
7879

0 commit comments

Comments
 (0)