mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-25 16:19:58 +08:00
fix tests
Stop being an idiot
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user