mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor(index): use enum for file modes
This commit is contained in:
parent
5feb12fdaa
commit
627519a31f
3 changed files with 45 additions and 12 deletions
|
@ -38,7 +38,7 @@ void main() {
|
|||
});
|
||||
|
||||
test('returns mode of index entry', () {
|
||||
expect(index['file'].mode, 33188);
|
||||
expect(index['file'].mode, GitFilemode.blob);
|
||||
});
|
||||
|
||||
test('returns index entry at provided position', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue