Skip to content

Commit 2e08eaa

Browse files
committed
Fix complication error in comment test.
1 parent abf08e1 commit 2e08eaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ public void testGetCommentsFormatting() throws IOException, ExtractionException
369369

370370
final CommentsInfoItem firstComment = comments.getItems().get(0);
371371

372-
assertContains("<s>", firstComment.getCommentText());
373-
assertContains("<b>", firstComment.getCommentText());
372+
assertContains("<s>", firstComment.getCommentText().getContent());
373+
assertContains("<b>", firstComment.getCommentText().getContent());
374374
}
375375
}
376376
}

0 commit comments

Comments
 (0)