diff --git a/tests/testthat/test-parse-block.R b/tests/testthat/test-parse-block.R index d7c914f2..150dbd8b 100644 --- a/tests/testthat/test-parse-block.R +++ b/tests/testthat/test-parse-block.R @@ -149,7 +149,7 @@ test_that("@json parameters work", { expect_block_fn("#' @serializer json list ( auto_unbox = TRUE , na = 'string' ) ", serializer_json(auto_unbox = TRUE, na = 'string')) - expect_block_error("#' @serializer json list(na = 'string'", "unexpected end of input") + expect_block_error("#' @serializer json list(na = 'string'") expect_block_error("#' @json(na = 'string'", "must be surrounded by parentheses") expect_block_error("#' @json (na = 'string'", "must be surrounded by parentheses") expect_block_error("#' @json ( na = 'string'", "must be surrounded by parentheses")