playqueue test fixes
Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
parent
86e35d4fae
commit
37a776ef24
|
@ -378,6 +378,6 @@ void Playqueue :: set_cur(unsigned int c)
|
|||
void Playqueue :: reset()
|
||||
{
|
||||
tracks.clear();
|
||||
reset_cur();
|
||||
set_cur(0);
|
||||
}
|
||||
#endif /* CONFIG_TEST */
|
||||
|
|
|
@ -142,7 +142,7 @@ void test_3()
|
|||
for (unsigned int i = 0; i < 25; i++) {
|
||||
print("Selecting id: %u\n", pqueue.next());
|
||||
if (i == 4)
|
||||
pqueue.reset_cur();
|
||||
pqueue.set_cur(0);
|
||||
}
|
||||
test_pqueue_status("3b", pqueue);
|
||||
print("\n");
|
||||
|
|
Loading…
Reference in New Issue