You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: natural-language-understanding/src/test/java/com/ibm/watson/natural_language_understanding/v1/NaturalLanguageUnderstandingIT.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -284,7 +284,7 @@ public void analyzeTextForEntitiesIsSuccessful() throws Exception {
284
284
assertNotNull(results);
285
285
assertEquals(results.getAnalyzedText(), text);
286
286
assertNotNull(results.getEntities());
287
-
assertTrue(results.getEntities().size() == 2);
287
+
assertTrue(results.getEntities().size() <= 2);
288
288
289
289
for (EntitiesResultresult : results.getEntities()) {
0 commit comments