mirror of
https://github.com/restic/restic.git
synced 2026-11-06 07:19:21 +00:00
Apply go fix -stringsseq ./...
This commit is contained in:
1 parent
31e96f4ec9
commit
58f92708c2
10 files changed
+11
-11
No files matched your search
@@ -46,7 +46,7 @@ func getBoolVar(name string, defaultValue bool) bool {
|
||||
// names that must be run. If name is in this list, the test is marked as
|
||||
// failed.
|
||||
func SkipDisallowed(t testing.TB, name string) {
|
||||
for _, s := range strings.Split(testIntegrationDisallowSkip, ",") {
|
||||
for s := range strings.SplitSeq(testIntegrationDisallowSkip, ",") {
|
||||
if s == name {
|
||||
t.Fatalf("test %v is in list of tests that need to run ($RESTIC_TEST_DISALLOW_SKIP)", name)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user