mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor(reflog): use naming conventions for similar methods
This commit is contained in:
parent
5675f9265c
commit
c26e3f4539
4 changed files with 15 additions and 17 deletions
|
@ -38,15 +38,13 @@ void main() {
|
|||
});
|
||||
|
||||
test('returns the log message', () {
|
||||
final entry = reflog.entryAt(0);
|
||||
expect(entry.message, "commit: add subdirectory file");
|
||||
expect(reflog[0].message, "commit: add subdirectory file");
|
||||
});
|
||||
|
||||
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.time, 1630568461);
|
||||
expect(reflog[0].committer.name, 'Aleksey Kulikov');
|
||||
expect(reflog[0].committer.email, 'skinny.mind@gmail.com');
|
||||
expect(reflog[0].committer.time, 1630568461);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue