mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +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_.undo_stack()->undo();
|
||||
EXPECT_EQ(-1, playlist_.current_index());
|
||||
EXPECT_EQ(-1, playlist_.last_played_index());
|
||||
EXPECT_EQ(0, playlist_.current_index());
|
||||
EXPECT_EQ(0, playlist_.last_played_index());
|
||||
}
|
||||
|
||||
TEST_F(PlaylistTest, ShuffleThenNext) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user