mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat: add ability to compare objects
This commit is contained in:
parent
5dfedadfe6
commit
a14fe15a9c
45 changed files with 466 additions and 137 deletions
|
@ -211,5 +211,12 @@ void main() {
|
|||
|
||||
expect(repo.stashes[0].toString(), contains('Stash{'));
|
||||
});
|
||||
|
||||
test('supports value comparison', () {
|
||||
File(filePath).writeAsStringSync('edit', mode: FileMode.append);
|
||||
Stash.create(repo: repo, stasher: stasher, message: 'WIP');
|
||||
|
||||
expect(repo.stashes.first, equals(repo.stashes.first));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue