mercurial test coverage

This commit is contained in:
Peter Cottle 2013-08-04 13:27:33 -07:00
parent 7db6f0d38c
commit bf132f8f09
8 changed files with 122 additions and 18 deletions

View file

@ -1,11 +1,11 @@
var base = require('./base');
var expectTreeAsync = base.expectTreeAsync;
describe('GitEngine', function() {
describe('Git', function() {
it('Commits', function() {
expectTreeAsync(
'git commit',
'{"branches":{"master":{"target":"C2","id":"master","type":"branch"}},"commits":{"C0":{"type":"commit","parents":[],"id":"C0","rootCommit":true},"C1":{"type":"commit","parents":["C0"],"id":"C1"},"C2":{"type":"commit","parents":["C1"],"id":"C2"}},"HEAD":{"id":"HEAD","target":"master","type":"general ref"}}'
base.ONE_COMMIT_TREE
);
});