File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -547,7 +547,10 @@ fn test_full_playlist() {
547547 ) ;
548548 assert_eq ! ( full_playlist. followers. total, 109 ) ;
549549 assert_eq ! ( full_playlist. items. total, 5 ) ;
550- assert_eq ! ( full_playlist. tracks. total, 5 ) ;
550+ #[ allow( deprecated) ]
551+ {
552+ assert_eq ! ( full_playlist. tracks. total, 5 ) ;
553+ }
551554}
552555
553556#[ test]
@@ -968,8 +971,11 @@ fn test_full_playlist_accepts_items_field() {
968971 full_playlist. items. href,
969972 "https://api.spotify.com/v1/playlists/3cEYpjA9oz9GiPac4AsH4n/items?offset=0&limit=100&locale=en-US,en;q%3D0.9"
970973 ) ;
971- assert_eq ! ( full_playlist. tracks. total, 5 ) ;
972- assert_eq ! ( full_playlist. tracks. href, full_playlist. items. href) ;
974+ #[ allow( deprecated) ]
975+ {
976+ assert_eq ! ( full_playlist. tracks. total, 5 ) ;
977+ assert_eq ! ( full_playlist. tracks. href, full_playlist. items. href) ;
978+ }
973979}
974980
975981#[ test]
You can’t perform that action at this time.
0 commit comments