diff --git a/lib/util/__fixtures__/release-notes.txt b/lib/util/__fixtures__/release-notes.txt index 3bccfd52826b725d77f46136afeb0605698fd6dd..12ecfe5f38fe3bd0980b784899db09731a0d9f93 100644 --- a/lib/util/__fixtures__/release-notes.txt +++ b/lib/util/__fixtures__/release-notes.txt @@ -15,3 +15,4 @@ * @​user made their first contribution in https://github.com/foo/foo/pull/2 #### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03) +* link to GH issue [#​1234](https://github.com/some/repo/issues/1234) diff --git a/lib/util/markdown.spec.ts b/lib/util/markdown.spec.ts index 11611a24f2055a4d7dc1a468442884b27a55d241..1176a5f06f27ce3684617a5cdb3b3495dbdde320 100644 --- a/lib/util/markdown.spec.ts +++ b/lib/util/markdown.spec.ts @@ -54,6 +54,8 @@ describe('util/markdown', () => { '#### New Contributors\n' + '* @user made their first contribution in https://github.com/foo/foo/pull/2\n' + '#### [Heading With Markdown Link](https://github.com/foo/foo/blob/HEAD/CHANGELOG.md#1234-2023-07-03)' + + '\n' + + '* link to GH issue [#1234](https://github.com/some/repo/issues/1234)' + '\n'; const expected = Fixtures.get('release-notes.txt');