Skip to content

Commit

Permalink
there is no message on skip_on_os
Browse files Browse the repository at this point in the history
  • Loading branch information
mnr committed Apr 29, 2024
1 parent 1415e42 commit 6885db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-is.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_that("is.rpi confirms/denies RPi", {
skip_on_os("mac", message = "This is a mac")
skip_on_os("windows", message = "this is windows")
skip_on_os("mac")
skip_on_os("windows")
skip_if_not( file.exists("/etc/os-release"), message = "missing /etc/os-release")
skip_if_not( any(grepl("Raspbian", readLines("/etc/os-release"))),
message = "Raspbian is not in /etc/os-release")
Expand Down

0 comments on commit 6885db4

Please sign in to comment.