Skip to content

Commit

Permalink
call flush in tst_disassemblyoutput
Browse files Browse the repository at this point in the history
without flush the exspected file is empty which will cause the test to
fail
  • Loading branch information
lievenhey committed Nov 30, 2023
1 parent 93b14e0 commit 565a132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/modeltests/tst_disassemblyoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private slots:
}

file->write(text.toUtf8());
file->flush();

return file->fileName();
}
Expand Down

0 comments on commit 565a132

Please sign in to comment.