Skip to content

Commit

Permalink
chore: 干掉 print
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoaer committed Jul 11, 2024
1 parent 97e2f57 commit 762043a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/bili_sync/src/bilibili/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ mod tests {

#[ignore = "only for manual test"]
#[tokio::test]
async fn assert_video_info() {
async fn assert_video_info_type() {
let bili_client = BiliClient::new();
let video = Video::new(&bili_client, "BV1Z54y1C7ZB".to_string());
assert!(matches!(video.get_view_info().await, Ok(VideoInfo::View { .. })));
Expand All @@ -141,7 +141,6 @@ mod tests {
let watch_later = WatchLater::new(&bili_client);
let stream = watch_later.into_video_stream();
pin_mut!(stream);
println!("{:?}", stream.next().await);
assert!(matches!(stream.next().await, Some(VideoInfo::WatchLater { .. })));
}
}

0 comments on commit 762043a

Please sign in to comment.