mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:45:16 +01:00
16 lines
267 B
Go
16 lines
267 B
Go
// Package testy contains test utilities for rclone
|
|
package testy
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
// SkipUnreliable skips this test if running on CI
|
|
func SkipUnreliable(t *testing.T) {
|
|
if os.Getenv("CI") == "" {
|
|
return
|
|
}
|
|
t.Skip("Skipping Unreliable Test on CI")
|
|
}
|