Skip to content

Commit 80a4d71

Browse files
committed
fix typo in test file
1 parent 022e148 commit 80a4d71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test-utils.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ test_that("as_yaml detects NA in simple vectors", {
8484
test_that("write_yaml detects NA in nested structures", {
8585
skip_on_cran() # Skip on CRAN as we current throw warning only on CRAN
8686
expect_snapshot(
87-
error = TRUE?write_yaml(list(data = list(subset = c(1, NA, 3))), tempfile())
87+
error = TRUE,
88+
write_yaml(list(data = list(subset = c(1, NA, 3))), tempfile())
8889
)
8990
})
9091

0 commit comments

Comments
 (0)