snuyanzin commented on code in PR #28497:
URL: https://github.com/apache/flink/pull/28497#discussion_r3454293060
##########
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingTest.java:
##########
@@ -263,7 +263,7 @@ public int compare(String o1, String o2) {
for (String line : cntnt) {
cntntStr.append(line);
}
- Assert.assertEquals(expectedFileContents.get(fileIdx),
cntntStr.toString());
+
assertThat(cntntStr.toString()).isEqualTo(expectedFileContents.get(fileIdx));
Review Comment:
assertJ has `hasToString()`
--
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]