1
0
mirror of https://github.com/GitJournal/GitJournal.git synced 2025-07-12 05:22:13 +08:00

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

@ -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;
}