risdenk commented on code in PR #953:
URL: https://github.com/apache/solr/pull/953#discussion_r998873683


##########
solr/solrj/src/test/org/apache/solr/client/solrj/request/SchemaTest.java:
##########
@@ -869,7 +869,7 @@ public void testCopyFieldWithMaxCharsAccuracy() throws 
Exception {
         int currentMaxChars = (Integer) currentCopyField.get("maxChars");
         MatcherAssert.assertThat(
             currentDestFieldName, anyOf(is(equalTo(destFieldName1)), 
is(equalTo(destFieldName2))));
-        assertTrue(maxChars == currentMaxChars);
+        assertEquals((int) maxChars, currentMaxChars);

Review Comment:
   Fixed in d59d4e9075a88dd6c44a9890e70ce00dfcac4ca7



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to