thread 'get_player_from_client::case_4_ios' panicked at tests/youtube.rs:71:14:
video #247
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
test get_player_from_client::case_4_ios ... FAILED
failures:
failures:
get_player_from_client::case_4_ios
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 170 filtered out; finished in 0.24s
thread 'get_player_from_client::case_4_ios' panicked at tests/youtube.rs:71:14:
video #247
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'music_album::case_8_version_no_artist' panicked at /home/thetadev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.38.0/src/runtime.rs:563:9:
snapshot assertion for 'music_album_version_no_artist' failed in line 1593
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: tests/snapshots/youtube__music_album_version_no_artist.snap
Snapshot: music_album_version_no_artist
Source: tests/youtube.rs:1593
────────────────────────────────────────────────────────────────────────────────
Expression: album
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
122 122 │ width: 544,
123 123 │ height: 544,
124 124 │ ),
125 125 │ ],
126 │- artists: [],
127 │- artist_id: None,
126 │+ artists: [
127 │+ ArtistId(
128 │+ id: Some("UCJ59s7i18Dxj_pKVIGETNow"),
129 │+ name: "S.p. Kodandapani",
130 │+ ),
131 │+ ArtistId(
132 │+ id: Some("UCbeyiCEAJt5buhxxLAPwVMg"),
133 │+ name: "S. P. Kodandapani",
134 │+ ),
135 │+ ],
136 │+ artist_id: Some("UCJ59s7i18Dxj_pKVIGETNow"),
128 137 │ album_type: Ep,
129 138 │ year: None,
130 │- by_va: true,
139 │+ by_va: false,
131 140 │ ),
132 141 │ ],
133 142 │ )
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
test music_album::case_8_version_no_artist ... FAILED
failures:
failures:
music_album::case_8_version_no_artist
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 170 filtered out; finished in 0.23s
stored new snapshot /home/thetadev/Documents/Programmieren/Rust/rustypipe/tests/snapshots/youtube__music_album_version_no_artist.snap.new
thread 'music_album::case_8_version_no_artist' panicked at /home/thetadev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.38.0/src/runtime.rs:563:9:
snapshot assertion for 'music_album_version_no_artist' failed in line 1593
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'music_album::case_9_no_artist' panicked at /home/thetadev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.38.0/src/runtime.rs:563:9:
snapshot assertion for 'music_album_no_artist' failed in line 1593
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: tests/snapshots/youtube__music_album_no_artist.snap
Snapshot: music_album_no_artist
Source: tests/youtube.rs:1593
────────────────────────────────────────────────────────────────────────────────
Expression: album
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
1 1 │ id: "MPREb_bqWA6mAZFWS",
2 2 │ playlist_id: Some("OLAK5uy_mUiRbMqeQXFUH6h9KB87RcEmNtm45Qvs0"),
3 3 │ name: "Pedha Rasi Peddamma Katha",
4 4 │ cover: "[cover]",
5 │- artists: [],
6 │- artist_id: None,
5 │+ artists: [
6 │+ ArtistId(
7 │+ id: Some("UCJ59s7i18Dxj_pKVIGETNow"),
8 │+ name: "S.p. Kodandapani",
9 │+ ),
10 │+ ArtistId(
11 │+ id: Some("UCbeyiCEAJt5buhxxLAPwVMg"),
12 │+ name: "S. P. Kodandapani",
13 │+ ),
14 │+ ],
15 │+ artist_id: Some("UCJ59s7i18Dxj_pKVIGETNow"),
7 16 │ description: None,
8 17 │ album_type: Ep,
9 18 │ year: Some(1968),
10 19 │ by_va: false,
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
test music_album::case_9_no_artist ... FAILED
failures:
failures:
music_album::case_9_no_artist
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 170 filtered out; finished in 0.28s
stored new snapshot /home/thetadev/Documents/Programmieren/Rust/rustypipe/tests/snapshots/youtube__music_album_no_artist.snap.new
thread 'music_album::case_9_no_artist' panicked at /home/thetadev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.38.0/src/runtime.rs:563:9:
snapshot assertion for 'music_album_no_artist' failed in line 1593
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'music_playlist_cont::case_2_ytm' panicked at tests/youtube.rs:1534:5:
expected >= 227 tracks, got 128
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
test music_playlist_cont::case_2_ytm ... FAILED
failures:
failures:
music_playlist_cont::case_2_ytm
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 170 filtered out; finished in 1.15s
thread 'music_playlist_cont::case_2_ytm' panicked at tests/youtube.rs:1534:5:
expected >= 227 tracks, got 128
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'search' panicked at tests/youtube.rs:2751:9:
expected >= 10 items on page 2, got 4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
running 1 test
test search ... FAILED
failures:
failures:
search
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 170 filtered out; finished in 2.17s
thread 'search' panicked at tests/youtube.rs:2751:9:
expected >= 10 items on page 2, got 4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace