From 5e011e0946deb507b9ca46e62dd40e5ee1b186ed Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 5 Sep 2023 16:43:59 +1000 Subject: [PATCH] fix: make test pass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://github.com/nodejs/commit-stream/pull/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. --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 4a80f38..c984436 100644 --- a/test.js +++ b/test.js @@ -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() })