Skip to content

Commit 393c0cf

Browse files
committed
Add another skip()
1 parent ff081a6 commit 393c0cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-expect-inheritance.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,6 @@ test_that("can check with actual class", {
132132
})
133133

134134
test_that("expect_s7_class validates its inputs", {
135+
skip_if_not_installed("S7")
135136
expect_snapshot(expect_s7_class(1, 1), error = TRUE)
136137
})

0 commit comments

Comments
 (0)