mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-04 01:54:44 +02:00
Test coverage for deleting tags, PR #599
This commit is contained in:
parent
fc456eecc1
commit
496579b717
1 changed files with 7 additions and 0 deletions
|
@ -220,6 +220,13 @@ describe('Git', function() {
|
|||
);
|
||||
});
|
||||
|
||||
it('makes a tag and removes a tag', function() {
|
||||
expectTreeAsync(
|
||||
'git tag v1; git tag -d v1',
|
||||
'{"branches":{"master":{"target":"C1","id":"master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"}},"tags":{},"HEAD":{"target":"master","id":"HEAD"}}'
|
||||
);
|
||||
});
|
||||
|
||||
it('makes a tag on another ref', function() {
|
||||
expectTreeAsync(
|
||||
'git tag v1 C0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue