Skip to content

Commit

Permalink
Merge pull request #954 from microsoft/benibenj/testAdded
Browse files Browse the repository at this point in the history
Add test for invalid version format
  • Loading branch information
benibenj authored Apr 11, 2024
2 parents 54b5177 + 75cfd1c commit 5be3900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/validation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
});

Expand Down

0 comments on commit 5be3900

Please sign in to comment.