Skip to content

Commit

Permalink
fix: make test pass
Browse files Browse the repository at this point in the history
Ref: nodejs/commit-stream#10

The above change to commit-stream makes it strip out `(#xx)` from the summary
and use it as one of the inputs to find the PR url. The change here just
updates the test assertion to remove that from the commit—we don't need it and
this is an improvement in functionality.
  • Loading branch information
rvagg committed Sep 6, 2023
1 parent 006c2d0 commit 5e011e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -128,7 +128,7 @@ test('test markdown punctuation chars in commit message and author name', (t) =>
test('test find-matching-prs', (t) => {
t.equal(
exec('--start-ref=a059bc7ca9 --end-ref=a059bc7ca9 --find-matching-prs=true nodejs changelog-maker'),
`* [a059bc7ca9] - chore(deps): remove package-lock.json (#118) (Rod Vagg) https://github.com/nodejs/changelog-maker/pull/118
`* [a059bc7ca9] - chore(deps): remove package-lock.json (Rod Vagg) https://github.com/nodejs/changelog-maker/pull/118
`)
t.end()
})

0 comments on commit 5e011e0

Please sign in to comment.