Skip to content

Commit 8e90a58

Browse files
Lars-Magnus Skogrvagg
authored andcommitted
add test
PR-URL: #1 Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 1bcfd07 commit 8e90a58

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ test('current plain commit log', function (t) {
1818

1919
t.ok(list && list.length > 1, 'got a list')
2020

21+
t.deepEqual(list[list.length - 9], {
22+
author : { email: 'ralphtheninja@riseup.net', name: 'Lars-Magnus Skog' }
23+
, description : [
24+
'Fixes: https://github.com/rvagg/changelog-maker/issues/35'
25+
]
26+
, ghIssue : 1
27+
, ghProject : 'commit-stream'
28+
, ghUser : 'rvagg'
29+
, prUrl : 'https://github.com/rvagg/commit-stream/pull/1'
30+
, sha : '1bcfd072fd74399808fbcd5cf31ce5342dd6d70c'
31+
, summary : 'process: this should not match PR-URL'
32+
, reviewers : [ { email: 'rod@vagg.org', name: 'Rod Vagg' } ]
33+
}, 'got correct ninth commit')
34+
2135
t.deepEqual(list[list.length - 4], {
2236
author: { email: 'rod@vagg.org', name: 'Rod Vagg' }
2337
, sha: 'f92b93c3c7175b07f847dd45058b121cea6b3a20'

0 commit comments

Comments
 (0)