Skip to content

Commit

Permalink
Merge pull request #958 from microsoft/benibenj/testaddedval
Browse files Browse the repository at this point in the history
Add test for validateVersion function
  • Loading branch information
benibenj authored Apr 12, 2024
2 parents 7b9b7f3 + e50ea7a commit fc228a1
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 @@ -73,6 +73,7 @@ describe('validateVersion', () => {
assert.throws(() => validateVersion('0.1.'));
assert.throws(() => validateVersion('0.0.0.1'));
assert.throws(() => validateVersion('1.0-pre'));
assert.throws(() => validateVersion('pre'));
});
});

Expand Down

0 comments on commit fc228a1

Please sign in to comment.