We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
testthat_warn
1 parent b2a8228 commit 6545cbeCopy full SHA for 6545cbe
R/expect-setequal.R
@@ -84,7 +84,7 @@ expect_mapequal <- function(object, expected) {
84
85
# Length-0 vectors are OK whether named or unnamed.
86
if (length(act$val) == 0 && length(exp$val) == 0) {
87
- warn("`object` and `expected` are empty lists")
+ testthat_warn("`object` and `expected` are empty lists")
88
return(pass(act$val))
89
}
90
0 commit comments