1
0
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:
David Sansome 2010-11-20 20:10:51 +00:00
parent 3dd0e56c1b
commit 6f889947c8

View File

@ -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) {