20 lines
701 B
Diff
20 lines
701 B
Diff
From f4c4d131f7310b3bf153bdee977055143ff2a99f Mon Sep 17 00:00:00 2001
|
|
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
Date: Sat, 26 Dec 2020 17:46:52 -0500
|
|
Subject: [PATCH] Add a missing skip for offline in tests.
|
|
|
|
---
|
|
tests/testthat/test-remotes.R | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/tests/testthat/test-remotes.R b/tests/testthat/test-remotes.R
|
|
index ed6c5d3..40a7bcf 100644
|
|
--- a/tests/testthat/test-remotes.R
|
|
+++ b/tests/testthat/test-remotes.R
|
|
@@ -1,4 +1,5 @@
|
|
test_that("remotes from new repo",{
|
|
+ skip_if_offline()
|
|
repo <- git_init(tempfile("gert-tests-remote"))
|
|
on.exit(unlink(repo, recursive = TRUE))
|
|
expect_equal(nrow(git_remote_list(repo = repo)), 0)
|