mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat: add ability to compare objects (#54)
This commit is contained in:
parent
5dfedadfe6
commit
bad40bdb61
45 changed files with 466 additions and 137 deletions
|
@ -327,5 +327,12 @@ void main() {
|
|||
final branch = Branch.lookup(repo: repo, name: 'master');
|
||||
expect(branch.toString(), contains('Branch{'));
|
||||
});
|
||||
|
||||
test('supports value comparison', () {
|
||||
expect(
|
||||
Branch.lookup(repo: repo, name: 'master'),
|
||||
equals(Branch.lookup(repo: repo, name: 'master')),
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue