thisisnic commented on a change in pull request #11501:
URL: https://github.com/apache/arrow/pull/11501#discussion_r734654789
##########
File path: r/tests/testthat/test-python-flight.R
##########
@@ -32,6 +32,10 @@ if (process_is_running("demo_flight_server")) {
flight_put(client, example_data, path = flight_obj)
expect_true(flight_path_exists(client, flight_obj))
expect_true(flight_obj %in% list_flights(client))
+ expect_error(
+ flight_put(client, Array$create(c(1:3)), path = flight_obj),
+ regexp = 'data must be a "data.frame", "Table", or "RecordBatch"'
Review comment:
Yeah, we use it loads of times when use use `expect_error()`. Do you
mean the parameter itself or the fact it's explicitly been named?
--
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]