From a1eb923876b34eba70db319c16928bf6a3d392a5 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 26 Nov 2022 12:07:57 +0100 Subject: [PATCH] remove no longer necessary conditional compiles --- cmd/restic/integration_filter_pattern_test.go | 7 ------- internal/filter/filter_patterns_test.go | 7 ------- internal/repository/fuzz_test.go | 3 --- 3 files changed, 17 deletions(-) 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 (