test: improve coverage

This commit is contained in:
Aleksey Kulikov 2021-10-15 17:37:38 +03:00
parent d75acbfdd3
commit d6eae1e9ed
71 changed files with 710 additions and 229 deletions

View file

@ -67,9 +67,7 @@ class Index with IterableMixin<IndexEntry> {
? their = null
: their = IndexEntry(entry['their']!);
if (ancestor != null) {
path = ancestor.path;
} else if (our != null) {
if (our != null) {
path = our.path;
} else {
path = their!.path;