Skip to content

Commit a3519a1

Browse files
committed
Skip test that fails on Debian 11
1 parent 3bf5653 commit a3519a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-worktree.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ test_that("`git_worktree_lock()`, `git_worktree_unlock()`, and `git_worktree_is_
9494
})
9595

9696
test_that("`git_worktree_is_valid()` works", {
97+
skip_if_not(libgit2_config()$version > "1.1.0", "Skipping Debian 11")
98+
9799
repo <- git_init(tempfile("gert-tests-repo"))
98100
on.exit(unlink(repo, recursive = TRUE), add = TRUE, after = FALSE)
99101

0 commit comments

Comments
 (0)