This commit is contained in:
Vishesh Handa
2021-06-29 20:04:48 +02:00
parent b492fc51e8
commit a45e8e4fe1

View File

@ -57,7 +57,7 @@ void main() {
await Future.forEach(notes, (Note origNote) async {
var note = Note(parent, origNote.filePath);
var r = await note.load();
expect(r, NoteLoadState.Loaded);
expect(r.getOrThrow(), NoteLoadState.Loaded);
loadedNotes.add(note);
});