@@ -98,6 +98,7 @@ public void testGetCommentsAllData() throws IOException, ExtractionException {
9898 assertNotNull (c .getUploadDate ());
9999 assertFalse (Utils .isBlank (c .getThumbnailUrl ()));
100100 assertFalse (Utils .isBlank (c .getUrl ()));
101+ assertTrue (c .getLikeCount () >= 0 );
101102 assertFalse (Utils .isBlank (c .getTextualVoteCount ()));
102103 }
103104 }
@@ -148,6 +149,7 @@ public void testGetCommentsAllData() throws IOException, ExtractionException {
148149 assertNotNull (c .getUploadDate ());
149150 assertFalse (Utils .isBlank (c .getThumbnailUrl ()));
150151 assertFalse (Utils .isBlank (c .getUrl ()));
152+ assertTrue (c .getLikeCount () >= 0 );
151153 assertFalse (Utils .isBlank (c .getTextualVoteCount ()));
152154 if (c .getCommentId ().equals ("Ugga_h1-EXdHB3gCoAEC" )) { // comment without text
153155 assertTrue (Utils .isBlank (c .getCommentText ()));
@@ -191,6 +193,7 @@ public void testGetCommentsAllData() throws IOException, ExtractionException {
191193 assertNotNull (c .getUploadDate ());
192194 assertFalse (Utils .isBlank (c .getThumbnailUrl ()));
193195 assertFalse (Utils .isBlank (c .getUrl ()));
196+ assertTrue (c .getLikeCount () >= 0 );
194197 assertFalse (Utils .isBlank (c .getTextualVoteCount ()));
195198 assertFalse (Utils .isBlank (c .getCommentText ()));
196199 if (c .isHeartedByUploader ()) {
@@ -233,6 +236,7 @@ public void testGetCommentsAllData() throws IOException, ExtractionException {
233236 assertFalse (Utils .isBlank (c .getThumbnailUrl ()));
234237 assertFalse (Utils .isBlank (c .getUrl ()));
235238 assertFalse (Utils .isBlank (c .getTextualVoteCount ()));
239+ assertTrue (c .getLikeCount () >= 0 );
236240 assertFalse (Utils .isBlank (c .getCommentText ()));
237241 }
238242
0 commit comments