Skip to content

Commit d0c408f

Browse files
TESTS: Adjust assertions for future (>= 1.11.0)
1 parent 8721ce0 commit d0c408f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/stdout.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for (stdout in c(TRUE, FALSE, NA)) {
3131
stopifnot(value(f) == 42L)
3232

3333
if (is.na(stdout)) {
34-
stopifnot(!"stdout" %in% names(r))
34+
stopifnot(is.null(r$stdout) || r$stdout == "")
3535
} else if (stdout) {
3636
print(r)
3737
stopifnot(identical(r$stdout, truth))

0 commit comments

Comments
 (0)