Skip to content

Commit b7467c0

Browse files
committed
Add regression test
1 parent 0d5f3ac commit b7467c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: tests/reg-tests-1e.R

+5
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,11 @@ ch0 <- character(0L)
13991399
stopifnot(identical(ch0, tools::toTitleCase(ch0)))
14001400
## was list() in R <= 4.4.0
14011401

1402+
## toTitleCase("'PROTECTED',")
1403+
stopifnot(identical(
1404+
tools::toTitleCase("'SPSS', 'Stata' and 'R' are statistical software"),
1405+
"'SPSS', 'Stata' and 'R' are Statistical Software"
1406+
))
14021407

14031408
## PR#18745 (+ PR#18702) format.data.frame() -> as.data.frame.list()
14041409
x <- setNames(data.frame(TRUE), NA_character_)

0 commit comments

Comments
 (0)