Skip to content

Commit

Permalink
chore: add clean() test for build metadata (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
jethrodaniel authored Nov 30, 2023
1 parent 6240d75 commit 7303db1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functions/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ test('clean tests', (t) => {
['~1.2.3', null],
['<=1.2.3', null],
['1.2.x', null],
['0.12.0-dev.1150+3c22cecee', '0.12.0-dev.1150'],
].forEach(([range, version]) => {
const msg = `clean(${range}) = ${version}`
t.equal(clean(range), version, msg)
Expand Down

0 comments on commit 7303db1

Please sign in to comment.