changed assertTrue(string.equals(string)) to assertEquals(string, string)

This commit is contained in:
bopol 2020-01-17 21:24:52 +01:00
parent 7e8d00981f
commit 221e8dd171
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,6 @@ public class YoutubeCommentsExtractorTest {
}
return result;
}
@Test
@ -69,7 +68,7 @@ public class YoutubeCommentsExtractorTest {
private boolean getCommentsFromCommentsInfoHelper(String url) throws IOException, ExtractionException {
boolean result = false;
CommentsInfo commentsInfo = CommentsInfo.getInfo(url);
assertTrue("what the fuck am i doing with my life".equals(commentsInfo.getName()));
assertEquals("what the fuck am i doing with my life", commentsInfo.getName());
result = findInComments(commentsInfo.getRelatedItems(), "s1ck m3m3");
String nextPage = commentsInfo.getNextPageUrl();