diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java index 2574b1d36..1a3bc211c 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java @@ -339,7 +339,8 @@ public class YoutubeCommentsExtractorTest { CommentsInfoItem firstComment = comments.getItems().get(0); assertNotEquals(-1, firstComment.getReplyCount(), "First reply comment can't get count"); - assertNotEquals(0, firstComment.getReplyCount(), "First reply comment count is zero"); + assertGreater(300, firstComment.getReplyCount(), "First reply comment count is smaller than the expected 300 comments"); + } } }