From 221e8dd171ac31ac684774d432079fb4b60e0e79 Mon Sep 17 00:00:00 2001 From: bopol Date: Fri, 17 Jan 2020 21:24:52 +0100 Subject: [PATCH] changed assertTrue(string.equals(string)) to assertEquals(string, string) --- .../services/youtube/YoutubeCommentsExtractorTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 44a79621c..3345ae3a4 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 @@ -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();