equal tests data for mercurial and git - git tests passing now

This commit is contained in:
oleg 2015-07-16 22:17:07 +03:00
parent 9c0ba72c1b
commit 6d4d4c1dd3
4 changed files with 10 additions and 5 deletions

View File

@ -126,7 +126,7 @@ var expect = require('expect.js'),
});
_(['second revision', /^second revision$/]).each(function(tag) {
_(['second-revision', /^second\-revision$/]).each(function(tag) {
describe('with scm rev default and catch tag ' + tag, function() {
before(clearWorkspace);

View File

@ -25,7 +25,7 @@ exports.revs = {};
// revisions for the test mercurial repo
exports.revs.mercurial = [{
id: 'da2762e71e87',
tags: ['zero revision'],
tags: ['zero-revision'],
author: 'kotbegemot',
date: new Date('Fri May 09 22:36:41 2014 +0400').getTime(),
comment: 'zero revision'
@ -36,12 +36,12 @@ exports.revs.mercurial = [{
comment: 'first revision'
}, {
id: '9d7d08445f4c',
tags: ['release 0.1.0', 'second revision'],
tags: ['release-0.1.0', 'second-revision'],
author: 'kotbegemot',
date: new Date('Sat May 10 03:18:20 2014 +0400').getTime(),
comment: 'third revision'
}, {
id: '2ff4bec8b4cc',
id: '4593f737280d',
author: 'okv',
date: new Date('Sun Jun 28 10:54:22 2015 +0300').getTime(),
comment: 'add tags'
@ -49,7 +49,7 @@ exports.revs.mercurial = [{
exports.revs.git = [{
id: '4ec4643',
tags: ['zero'],
tags: ['zero-revision'],
author: 'oleg',
date: new Date('Mon Jul 13 22:30:58 2015 +0300').getTime(),
comment: 'zero revision'
@ -64,6 +64,11 @@ exports.revs.git = [{
author: 'oleg',
date: new Date('Mon Jul 13 22:32:59 2015 +0300').getTime(),
comment: 'third revision'
}, {
id: '9577350',
author: 'oleg',
date: new Date('Thu Jul 16 22:07:40 2015 +0300').getTime(),
comment: '4th commit'
}];
exports.scm = {};

Binary file not shown.

Binary file not shown.