diff --git a/tests/testthat/_snaps/pin-read-write.md b/tests/testthat/_snaps/pin-read-write.md index 9a83a965..dc94ca7a 100644 --- a/tests/testthat/_snaps/pin-read-write.md +++ b/tests/testthat/_snaps/pin-read-write.md @@ -20,7 +20,7 @@ Error in `pin_write()`: ! `name` must be a string Code - pin_write(board, mtcars, name = 1:10, "json") + pin_write(board, mtcars, name = "mtcars", "json") Condition Error in `pin_write()`: ! Arguments after the dots `...` must be named, like `type = "json"`. diff --git a/tests/testthat/test-pin-read-write.R b/tests/testthat/test-pin-read-write.R index 8fbdc311..0ba84050 100644 --- a/tests/testthat/test-pin-read-write.R +++ b/tests/testthat/test-pin-read-write.R @@ -41,7 +41,7 @@ test_that("useful errors on bad inputs", { expect_snapshot(error = TRUE, { pin_write(mtcars) pin_write(board, mtcars, name = 1:10) - pin_write(board, mtcars, name = 1:10, "json") + pin_write(board, mtcars, name = "mtcars", "json") pin_write(board, mtcars, name = "mtcars", type = "froopy-loops") pin_write(board, mtcars, name = "mtcars", metadata = 1) })