Apply go fix -stringsseq ./...

This commit is contained in:
Michael Eischer committed 2026-07-22 22:27:07 +02:00
1 parent 31e96f4ec9
commit 58f92708c2
10 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -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)
}