ianmcook commented on a change in pull request #10638:
URL: https://github.com/apache/arrow/pull/10638#discussion_r664866847
##########
File path: r/tests/testthat/test-dplyr-string-functions.R
##########
@@ -866,3 +866,44 @@ test_that("str_like", {
df
)
})
+
+test_that("str_pad", {
+
Review comment:
Also: should some of these tests use `width` that's less than the number
of characters in the input? The `stringr::str_pad()` docs show an example like
that:
```r
# Longer strings are returned unchanged
str_pad("hadley", 3)
```
--
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]