pitrou commented on code in PR #51458:
URL: https://github.com/apache/arrow/pull/51458#discussion_r4071431980


##########
cpp/src/arrow/status_test.cc:
##########
@@ -28,6 +28,13 @@
 
 namespace arrow {
 
+// Keep this function on top of file to minimize line number churn.
+template <typename StatusLike>
+Status ReturnNotOk(StatusLike&& status_like, int recursion = 0) {
+  RETURN_NOT_OK(status_like);
+  return Status::OK();
+}

Review Comment:
   Good idea, I've just done that.



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

Reply via email to