Skip to content

Commit 221e8dd

Browse files
committed
changed assertTrue(string.equals(string)) to assertEquals(string, string)
1 parent 7e8d009 commit 221e8dd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ private boolean getCommentsHelper(YoutubeCommentsExtractor extractor) throws IOE
5656
}
5757

5858
return result;
59-
6059
}
6160

6261
@Test
@@ -69,7 +68,7 @@ public void testGetCommentsFromCommentsInfo() throws IOException, ExtractionExce
6968
private boolean getCommentsFromCommentsInfoHelper(String url) throws IOException, ExtractionException {
7069
boolean result = false;
7170
CommentsInfo commentsInfo = CommentsInfo.getInfo(url);
72-
assertTrue("what the fuck am i doing with my life".equals(commentsInfo.getName()));
71+
assertEquals("what the fuck am i doing with my life", commentsInfo.getName());
7372
result = findInComments(commentsInfo.getRelatedItems(), "s1ck m3m3");
7473

7574
String nextPage = commentsInfo.getNextPageUrl();

0 commit comments

Comments
 (0)