refactor(reflog): use Signature class instead of Map

This commit is contained in:
Aleksey Kulikov 2021-08-24 19:13:21 +03:00
parent dc5f510aa5
commit 0509895b72
4 changed files with 15 additions and 19 deletions

View file

@ -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);
});
});
}