dramaticlly commented on code in PR #19323:
URL: https://github.com/apache/iceberg/pull/19323#discussion_r4806127446
##########
AGENTS.md:
##########
@@ -195,6 +195,7 @@ CloseableIterable<FileScanTask> planFiles();
- Use `@ParameterizedTest` instead of looping over inputs; a loop hides which
input failed and skips the rest.
- If a few inputs expect a different outcome, branch on the input rather than
adding a separate test.
- JUnit 5 + AssertJ: `@Test`, `assertThat`, `assertThatThrownBy`.
+- Pass format arguments directly to AssertJ message assertions and
descriptions: `hasMessage("Invalid %s", value)` and `as("Invalid %s", value)`,
not `hasMessage(String.format("Invalid %s", value))`.
Review Comment:
Sounds good, thanks @nastra
--
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]