Skip to content

Commit 7324442

Browse files
committed
fixup! add tests
1 parent 586e56d commit 7324442

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,14 @@ test('test blank commit-url', (t) => {
104104

105105
test('test backtick strings in commit messages', (t) => {
106106
t.equal(
107-
exec('--start-ref=28fc526 --end-ref=9795e76 --filter-release --commit-url=https://yeehaw.com/{ref}/{ref}/{ghUser}/{ghRepo}/'),
108-
`* [[\`9795e76\`](https://yeehaw.com/9795e76/9795e76/nodejs/changelog-maker/)] - \\\`test\\\`: commit\\_msg starting with a \\\`backtick\\\` string (Antoine du Hamel)
109-
* [[\`3cdadce\`](https://yeehaw.com/3cdadce/3cdadce/nodejs/changelog-maker/)] - test: commit\\_msg with a \\\` backtick char (Antoine du Hamel)
110-
* [[\`379d4c7\`](https://yeehaw.com/379d4c7/379d4c7/nodejs/changelog-maker/)] - test: commit\\_msg with \\\`backtick\\\` string (Antoine du Hamel)
111-
* [[\`3e55470\`](https://yeehaw.com/3e55470/3e55470/nodejs/changelog-maker/)] - test: commit\\_msg with \\\`\\\`backtick \\\` string\\\`\\\` (Antoine du Hamel)
112-
* [[\`b11167b\`](https://yeehaw.com/b11167b/b11167b/nodejs/changelog-maker/)] - test: commit\\_msg with \`back_tick\` string (Antoine du Hamel)
113-
* [[\`5964169\`](https://yeehaw.com/5964169/5964169/nodejs/changelog-maker/)] - test: commit\\_msg with \`backtick\` string (Antoine du Hamel)
114-
* [[\`a1a35b3\`](https://yeehaw.com/a1a35b3/a1a35b3/nodejs/changelog-maker/)] - feat: improve support of backtick strings (Antoine du Hamel)`
107+
exec('--start-ref=a1a35b347d --end-ref=9795e76959 --filter-release --commit-url=https://yeehaw.com/{ref}/{ref}/{ghUser}/{ghRepo}/'),
108+
`* [[\`9795e76959\`](https://yeehaw.com/9795e76959/9795e76959/nodejs/changelog-maker/)] - \\\`test\\\`: commit\\_msg starting with a \\\`backtick\\\` string (Antoine du Hamel)
109+
* [[\`3cdadcefb4\`](https://yeehaw.com/3cdadcefb4/3cdadcefb4/nodejs/changelog-maker/)] - test: commit\\_msg with a \\\` backtick char (Antoine du Hamel)
110+
* [[\`379d4c7bdb\`](https://yeehaw.com/379d4c7bdb/379d4c7bdb/nodejs/changelog-maker/)] - test: commit\\_msg with \\\`backtick\\\` string (Antoine du Hamel)
111+
* [[\`3e55470f24\`](https://yeehaw.com/3e55470f24/3e55470f24/nodejs/changelog-maker/)] - test: commit\\_msg with \\\`\\\`backtick \\\` string\\\`\\\` (Antoine du Hamel)
112+
* [[\`b11167bd25\`](https://yeehaw.com/b11167bd25/b11167bd25/nodejs/changelog-maker/)] - test: commit\\_msg with \`back_tick\` string (Antoine du Hamel)
113+
* [[\`5964169a4d\`](https://yeehaw.com/5964169a4d/5964169a4d/nodejs/changelog-maker/)] - test: commit\\_msg with \`backtick\` string (Antoine du Hamel)
114+
* [[\`a1a35b347d\`](https://yeehaw.com/a1a35b347d/a1a35b347d/nodejs/changelog-maker/)] - feat: improve support of backtick strings (Antoine du Hamel)`
115115
)
116+
t.end()
116117
})

0 commit comments

Comments
 (0)