pitrou commented on code in PR #51458:
URL: https://github.com/apache/arrow/pull/51458#discussion_r4071668841
##########
cpp/src/arrow/status_test.cc:
##########
@@ -28,6 +28,13 @@
namespace arrow {
+// Keep at top of the file to make line number in asserted error message
stable.
+template <typename StatusLike>
+Status ReturnNotOk(StatusLike&& status_like, int recursion = 0) {
Review Comment:
Oops, I envisioned making this function recursive to check for multiple
context lines but that felt overkill.
--
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]