We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
expectation()
1 parent 2e8d9d4 commit 9a5d51fCopy full SHA for 9a5d51f
R/test-compiled-code.R
@@ -130,6 +130,8 @@ run_cpp_tests <- function(package) {
130
c(line, line, 1, 1)
131
)
132
133
+ # There is no `fail()` equivalent for an error.
134
+ # We could use `stop()`, but we want to pass through a `srcref`.
135
expectation(
136
type = "error",
137
message = exception_text,
0 commit comments