diff --git a/tests/testthat/test-rpi_get.R b/tests/testthat/test-rpi_get.R index 60421c7..3670edf 100644 --- a/tests/testthat/test-rpi_get.R +++ b/tests/testthat/test-rpi_get.R @@ -1,4 +1,4 @@ test_that("rpi_get", { skip_if_not(is.rpi(), message = "Not a Raspberry Pi") - skip("skip") + expect_error(rpi_get(1), info = "rpi_get(1) isn't valid") }) diff --git a/tests/testthat/test-rpi_i2c_set.R b/tests/testthat/test-rpi_i2c_set.R index f2d9446..c0e6f62 100644 --- a/tests/testthat/test-rpi_i2c_set.R +++ b/tests/testthat/test-rpi_i2c_set.R @@ -1,4 +1,4 @@ test_that("rpi_i2c_set", { skip_if_not(is.rpi(), message = "Not a Raspberry Pi") - skip("skip") + expect_error(rpi_i2c_set(1), info = "rpi_i2c_set(1) isn't valid") }) diff --git a/tests/testthat/test-rpi_monitor.R b/tests/testthat/test-rpi_monitor.R index c46b3e3..9623258 100644 --- a/tests/testthat/test-rpi_monitor.R +++ b/tests/testthat/test-rpi_monitor.R @@ -1,4 +1,4 @@ test_that("test rpi_monitor", { skip_if_not(is.rpi(), message = "Not a Raspberry Pi") - skip("skip") + expect_error(rpi_monitor(1), info = "rpi_monitor(1) isn't valid") })