PlaylistTest: Replace forever with Q_FOREVER
This commit is contained in:
parent
7dd959f4a1
commit
19c8da06e6
@ -446,7 +446,7 @@ TEST_F(PlaylistTest, ShuffleThenNext) {
|
|||||||
playlist_.set_current_row(0);
|
playlist_.set_current_row(0);
|
||||||
|
|
||||||
// Shuffle until the current index is not at the end
|
// Shuffle until the current index is not at the end
|
||||||
forever {
|
Q_FOREVER {
|
||||||
playlist_.Shuffle();
|
playlist_.Shuffle();
|
||||||
if (playlist_.current_row() != items.count()-1)
|
if (playlist_.current_row() != items.count()-1)
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user