Skip to content

Commit

Permalink
Fix duplicate test data commit hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed May 17, 2018
1 parent ee7a667 commit 7f448ce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('parseCommits', () => {
it('parses bitbucket commits', async () => {
const gitLog = await readFile(join(__dirname, 'data', 'git-log.txt'), 'utf-8')
const commits = parseCommits(gitLog, remotes.bitbucket)
expect(commits[0].href).to.equal('https://bitbucket.org/user/repo/commits/b0b304049847d9568585bc11399fa6cfa4cab5dc')
expect(commits[0].href).to.equal('https://bitbucket.org/user/repo/commits/2401ee4706e94629f48830bab9ed5812c032734a')
})

it('supports startingCommit option', async () => {
Expand Down
8 changes: 4 additions & 4 deletions test/data/commits-no-remote.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
{
"hash": "b0b304049847d9568585bc11399fa6cfa4cab5dc",
"shorthash": "b0b3040",
"hash": "2401ee4706e94629f48830bab9ed5812c032734a",
"shorthash": "2401ee4",
"author": "Pete Cook",
"email": "[email protected]",
"date": "2015-12-29T21:57:19.000Z",
Expand All @@ -21,8 +21,8 @@ export default [
"deletions": 10
},
{
"hash": "b0b304049847d9568585bc11399fa6cfa4cab5dc",
"shorthash": "b0b3040",
"hash": "77bb243170408cd18e70ca05bf8b3ca7646ea437",
"shorthash": "77bb243",
"author": "Pete Cook",
"email": "[email protected]",
"date": "2015-12-15T12:03:09.000Z",
Expand Down
12 changes: 6 additions & 6 deletions test/data/commits.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
{
"hash": "b0b304049847d9568585bc11399fa6cfa4cab5dc",
"shorthash": "b0b3040",
"hash": "2401ee4706e94629f48830bab9ed5812c032734a",
"shorthash": "2401ee4",
"author": "Pete Cook",
"email": "[email protected]",
"date": "2015-12-29T21:57:19.000Z",
Expand All @@ -15,14 +15,14 @@ export default [
}
],
"merge": null,
"href": "https://github.com/user/repo/commit/b0b304049847d9568585bc11399fa6cfa4cab5dc",
"href": "https://github.com/user/repo/commit/2401ee4706e94629f48830bab9ed5812c032734a",
"files": 5,
"insertions": 10,
"deletions": 10
},
{
"hash": "b0b304049847d9568585bc11399fa6cfa4cab5dc",
"shorthash": "b0b3040",
"hash": "77bb243170408cd18e70ca05bf8b3ca7646ea437",
"shorthash": "77bb243",
"author": "Pete Cook",
"email": "[email protected]",
"date": "2015-12-15T12:03:09.000Z",
Expand All @@ -31,7 +31,7 @@ export default [
"message": "1.0.0",
"fixes": null,
"merge": null,
"href": "https://github.com/user/repo/commit/b0b304049847d9568585bc11399fa6cfa4cab5dc",
"href": "https://github.com/user/repo/commit/77bb243170408cd18e70ca05bf8b3ca7646ea437",
"files": 2,
"insertions": 8,
"deletions": 2
Expand Down
4 changes: 2 additions & 2 deletions test/data/git-log.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__AUTO_CHANGELOG_COMMIT_SEPARATOR__b0b304049847d9568585bc11399fa6cfa4cab5dc
__AUTO_CHANGELOG_COMMIT_SEPARATOR__2401ee4706e94629f48830bab9ed5812c032734a
(HEAD -> master, origin/master)
2015-12-29 21:57:19 +0000
Pete Cook
Expand All @@ -9,7 +9,7 @@ Fixes #6
__AUTO_CHANGELOG_MESSAGE_SEPARATOR__
5 files changed, 10 insertions(+), 10 deletions(-)

__AUTO_CHANGELOG_COMMIT_SEPARATOR__b0b304049847d9568585bc11399fa6cfa4cab5dc
__AUTO_CHANGELOG_COMMIT_SEPARATOR__77bb243170408cd18e70ca05bf8b3ca7646ea437
(tag: v1.0.0)
2015-12-15 12:03:09 +0000
Pete Cook
Expand Down

0 comments on commit 7f448ce

Please sign in to comment.