nastra commented on code in PR #9217: URL: https://github.com/apache/iceberg/pull/9217#discussion_r1443020124
########## core/src/test/java/org/apache/iceberg/TestCreateSnapshotEvent.java: ########## @@ -40,76 +41,76 @@ public TestCreateSnapshotEvent(int formatVersion) { Listeners.register(new MyListener(), CreateSnapshotEvent.class); } - @Test + @TestTemplate public void testAppendCommitEvent() { - Assert.assertEquals("Table should start empty", 0, listManifestFiles().size()); + Assertions.assertThat(listManifestFiles()).as("Table should start empty").isEmpty(); Review Comment: can you statically import `assertThat()` please? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org