Skip to content

Commit dfbd944

Browse files
committed
Update YT music test
1 parent 62f4bf4 commit dfbd944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/playlist_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ void main() {
7373
});
7474

7575
test('Get videos of YT music playlist', () async {
76-
final playlistVideosCount = await yt!.playlists
76+
final videos = await yt!.playlists
7777
.getVideos('RDCLAK5uy_m9Rw_g5eCJtMhuRgP1eqU3H-XW7UL6uWQ')
78-
.length;
79-
expect(playlistVideosCount, greaterThan(100));
78+
.toList();
79+
expect(videos.length, greaterThan(100));
8080
}, timeout: const Timeout(Duration(minutes: 2)));
8181
}

0 commit comments

Comments
 (0)