86e8ccfc by Gary Katsevman

We always have an additional call to selectPlaylist

1 parent 6ca15caa
......@@ -454,7 +454,7 @@ test('selects a playlist after segment downloads', function() {
standardXHRResponse(requests[1]);
standardXHRResponse(requests[2]);
strictEqual(calls, 1, 'selects after the initial segment');
strictEqual(calls, 2, 'selects after the initial segment');
player.currentTime = function() {
return 1;
};
......@@ -464,7 +464,8 @@ test('selects a playlist after segment downloads', function() {
player.trigger('timeupdate');
standardXHRResponse(requests[3]);
strictEqual(calls, 2, 'selects after additional segments');
strictEqual(calls, 3, 'selects after additional segments');
});
test('moves to the next segment if there is a network error', function() {
......