mirror of
https://github.com/restic/restic.git
synced 2026-11-20 07:02:11 +00:00
Remove flags from tests
This commit is contained in:
1 parent
002c7883c3
commit
030f08a410
7 files changed
+44
-20
No files matched your search
@@ -25,7 +25,7 @@ func setupSFTPBackend(t *testing.T) *sftp.SFTP {
|
||||
}
|
||||
|
||||
func teardownSFTPBackend(t *testing.T, b *sftp.SFTP) {
|
||||
if !*TestCleanup {
|
||||
if !TestCleanup {
|
||||
t.Logf("leaving backend at %s\n", b.Location())
|
||||
return
|
||||
}
|
||||
@@ -35,7 +35,7 @@ func teardownSFTPBackend(t *testing.T, b *sftp.SFTP) {
|
||||
}
|
||||
|
||||
func TestSFTPBackend(t *testing.T) {
|
||||
if !*RunIntegrationTest {
|
||||
if !RunIntegrationTest {
|
||||
t.Skip("integration tests disabled, use `-test.integration` to enable")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user