Skip to content

Commit bd7369b

Browse files
committed
Add missing period
1 parent 311d4d6 commit bd7369b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/expect-inheritance.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ expect_r6_class <- function(object, class) {
164164
check_string(class)
165165

166166
if (!inherits(act$val, "R6")) {
167-
return(fail(sprintf("%s is not an R6 object", act$lab)))
167+
return(fail(sprintf("%s is not an R6 object.", act$lab)))
168168
}
169169

170170
if (!inherits(act$val, class)) {

tests/testthat/_snaps/expect-inheritance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
# expect_r6_class generates useful failures
5151

52-
`x` is not an R6 object
52+
`x` is not an R6 object.
5353

5454
# expect_r6_class validates its inputs
5555

0 commit comments

Comments
 (0)