From 966308eeb7793a4a8ca578e160981e3b059b82e6 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 5 Mar 2017 17:44:14 +0100 Subject: Drop Go 1.4 compatability code everywhere Yields a nice reduction in code size. --- tests/example_filesystems/example_filesystems_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tests/example_filesystems') diff --git a/tests/example_filesystems/example_filesystems_test.go b/tests/example_filesystems/example_filesystems_test.go index 5192278..a43d2a9 100644 --- a/tests/example_filesystems/example_filesystems_test.go +++ b/tests/example_filesystems/example_filesystems_test.go @@ -12,7 +12,6 @@ import ( "os" "testing" - "github.com/rfjakob/gocryptfs/internal/cryptocore" "github.com/rfjakob/gocryptfs/internal/stupidgcm" "github.com/rfjakob/gocryptfs/tests/test_helpers" ) @@ -24,12 +23,7 @@ var opensslOpt string func TestMain(m *testing.M) { // Make "testing.Verbose()" return the correct value flag.Parse() - var variants []string - if cryptocore.HaveModernGoGCM { - variants = append(variants, "-openssl=false") - } else { - fmt.Println("Skipping Go GCM tests, Go installation is too old") - } + variants := []string{"-openssl=false"} if !stupidgcm.BuiltWithoutOpenssl { variants = append(variants, "-openssl=true") } else { -- cgit v1.2.3