fix tests

Stop being an idiot
This commit is contained in:
Vishesh Handa
2021-07-01 14:32:07 +02:00
parent e530230334
commit 55e7fef697

View File

@ -74,7 +74,7 @@ class SortedNotesFolder with NotesFolderNotifier implements NotesFolder {
assert(i != -1);
// FIXME: This should never be happening
// However, lets not crash!
if (i != -1) {
if (i == -1) {
return;
}