From f236458f732514a967eb2b18ff2d49bd3dfee2f7 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Wed, 30 Nov 2022 23:50:57 +0100 Subject: [PATCH] tests: remove exact comment count assertion --- tests/youtube.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/youtube.rs b/tests/youtube.rs index 4bf178f..c700aab 100644 --- a/tests/youtube.rs +++ b/tests/youtube.rs @@ -792,12 +792,6 @@ async fn get_video_comments() { let n_comments = top_comments.count.unwrap(); assert_gte(n_comments, 700_000, "comments"); - // Comment count should be exact after fetching first page - assert!( - n_comments % 1000 != 0, - "estimated comment count: {}", - n_comments - ); let latest_comments = details .latest_comments