diff options
author | Jakob Unterwurzacher | 2016-09-25 19:48:21 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 19:48:21 +0200 |
commit | 5f4b16c00f2475a8efd0ae0d4d4e26f92b563dc0 (patch) | |
tree | 5b9a65d94c3cc58c032e731ea4cb776947b30ebd /internal/prefer_openssl/prefer_test.go | |
parent | 166ba74a053898a52ff2e48125c1df97f35a85fd (diff) |
Implement changes proposed by gosimple.
Also delete the unused "dirIVNameStruct", found by deadcode.
Diffstat (limited to 'internal/prefer_openssl/prefer_test.go')
-rw-r--r-- | internal/prefer_openssl/prefer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/prefer_openssl/prefer_test.go b/internal/prefer_openssl/prefer_test.go index a2ed737..289a0a9 100644 --- a/internal/prefer_openssl/prefer_test.go +++ b/internal/prefer_openssl/prefer_test.go @@ -10,14 +10,14 @@ func TestCurrentCPU(t *testing.T) { // Has AES instructions func TestXeonE312xx(t *testing.T) { - if filePreferOpenSSL("cpuinfo.xeon_e312xx.txt") == true { + if filePreferOpenSSL("cpuinfo.xeon_e312xx.txt") { t.Fail() } } // Pentium G do not have AES instructions func TestPentiumG630(t *testing.T) { - if filePreferOpenSSL("cpuinfo.pentium_g630.txt") == false { + if !filePreferOpenSSL("cpuinfo.pentium_g630.txt") { t.Fail() } } |