mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: use "map/where" instead of "for" loop
This commit is contained in:
parent
3a0fa75929
commit
cfa5268af2
28 changed files with 193 additions and 323 deletions
|
@ -313,7 +313,7 @@ index e69de29..c217c63 100644
|
|||
expect(patches.length, 8);
|
||||
expect(patches.first.delta.status, GitDelta.deleted);
|
||||
|
||||
for (var p in patches) {
|
||||
for (final p in patches) {
|
||||
p.free();
|
||||
}
|
||||
diff.free();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue