mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Fix the playlist test
This commit is contained in:
parent
3dd0e56c1b
commit
6f889947c8
@ -395,8 +395,8 @@ TEST_F(PlaylistTest, UndoRemoveOldCurrent) {
|
|||||||
playlist_.set_current_index(-1);
|
playlist_.set_current_index(-1);
|
||||||
|
|
||||||
playlist_.undo_stack()->undo();
|
playlist_.undo_stack()->undo();
|
||||||
EXPECT_EQ(-1, playlist_.current_index());
|
EXPECT_EQ(0, playlist_.current_index());
|
||||||
EXPECT_EQ(-1, playlist_.last_played_index());
|
EXPECT_EQ(0, playlist_.last_played_index());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(PlaylistTest, ShuffleThenNext) {
|
TEST_F(PlaylistTest, ShuffleThenNext) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user