openinx commented on a change in pull request #3116:
URL: https://github.com/apache/iceberg/pull/3116#discussion_r713565775



##########
File path: api/src/test/java/org/apache/iceberg/AssertHelpers.java
##########
@@ -155,4 +155,18 @@ public static void assertEmptyAvroField(GenericRecord 
record, String field) {
         AvroRuntimeException.class,
         () -> record.get(field));
   }
+
+  /**
+   * Same as {@link AssertHelpers#assertThrowsCause}, but this method compares 
root cause.
+   */
+  public static void assertThrowsRootCause(String message,
+                                       Class<? extends Exception> expected,
+                                       String containedInMessage,
+                                       Runnable runnable) {

Review comment:
       Nit:   It's not the correct iceberg indent, I think you will need to 
configure your IDE by following this: 
https://iceberg.apache.org/community/#setting-up-ide-and-code-style




-- 
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