Skip to content

Commit

Permalink
feat(branch): fullCondensedName
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Jan 22, 2018
1 parent 012a299 commit 6e73a42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/branch-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ test('branch', async t => {
t.is(b.provider, provider);
t.is(b.name, 'b1');
t.is(b.fullName, 'r1#b1');
t.is(b.fullCondensedName, 'r1#b1');
t.is(b.isDefault, false);
t.is(await repository.branch('b1'), b);
});
Expand All @@ -21,6 +22,7 @@ test('branch isDefault', async t => {
const repository = await provider.createRepository('r1');
const b = new Branch(repository, 'master');
t.is(b.fullName, 'r1#master');
t.is(b.fullCondensedName, 'r1');
t.is(b.isDefault, true);
});

Expand Down

0 comments on commit 6e73a42

Please sign in to comment.