skytin1004 commented on code in PR #7996:
URL: https://github.com/apache/iceberg/pull/7996#discussion_r1254078375
##########
core/src/test/java/org/apache/iceberg/TestCatalogUtil.java:
##########
@@ -142,7 +141,7 @@ public void loadCustomFileIO_hadoopConfigConstructor() {
FileIO fileIO =
CatalogUtil.loadFileIO(HadoopFileIO.class.getName(),
Maps.newHashMap(), configuration);
Assertions.assertThat(fileIO).isInstanceOf(HadoopFileIO.class);
- Assert.assertEquals("val", ((HadoopFileIO) fileIO).conf().get("key"));
+ Assertions.assertThat(((HadoopFileIO)
fileIO).conf().get("key")).isEqualTo("val");
Review Comment:
I tried your suggestion, but I get a syntax error. I reverted back to
`Assertions.assertThat(((HadoopFileIO)
fileIO).conf().get("key")).isEqualTo("val");`.
--
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]