diff --git a/cmd/restic/integration_filter_pattern_test.go b/cmd/restic/integration_filter_pattern_test.go index 962158d94..c8225284d 100644 --- a/cmd/restic/integration_filter_pattern_test.go +++ b/cmd/restic/integration_filter_pattern_test.go @@ -1,10 +1,3 @@ -//go:build go1.16 -// +build go1.16 - -// Before Go 1.16 filepath.Match returned early on a failed match, -// and thus did not report any later syntax error in the pattern. -// https://go.dev/doc/go1.16#path/filepath - package main import ( diff --git a/internal/filter/filter_patterns_test.go b/internal/filter/filter_patterns_test.go index 64599d698..5971a4e1e 100644 --- a/internal/filter/filter_patterns_test.go +++ b/internal/filter/filter_patterns_test.go @@ -1,10 +1,3 @@ -//go:build go1.16 -// +build go1.16 - -// Before Go 1.16 filepath.Match returned early on a failed match, -// and thus did not report any later syntax error in the pattern. -// https://go.dev/doc/go1.16#path/filepath - package filter_test import ( diff --git a/internal/repository/fuzz_test.go b/internal/repository/fuzz_test.go index 7a98477b6..e316c3443 100644 --- a/internal/repository/fuzz_test.go +++ b/internal/repository/fuzz_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package repository import (