mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor(reflog): use Signature class instead of Map
This commit is contained in:
parent
dc5f510aa5
commit
0509895b72
4 changed files with 15 additions and 19 deletions
|
@ -49,9 +49,9 @@ void main() {
|
|||
|
||||
test('returns the committer of the entry', () {
|
||||
final entry = reflog.entryAt(0);
|
||||
expect(entry.committer['name'], 'Aleksey Kulikov');
|
||||
expect(entry.committer['email'], 'skinny.mind@gmail.com');
|
||||
expect(entry.committer['when'], 1626091184);
|
||||
expect(entry.committer.name, 'Aleksey Kulikov');
|
||||
expect(entry.committer.email, 'skinny.mind@gmail.com');
|
||||
expect(entry.committer.time, 1626091184);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue