From e13ee5f21aeca6f3d99ba9f2d3ddbc2faac3d948 Mon Sep 17 00:00:00 2001 From: mertakman Date: Mon, 30 Sep 2024 14:54:09 +0100 Subject: [PATCH] Fix:revert changes from copied files from upstream --- internal/subtle/aliasing_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/subtle/aliasing_test.go b/internal/subtle/aliasing_test.go index 71b5b2c..2a94494 100644 --- a/internal/subtle/aliasing_test.go +++ b/internal/subtle/aliasing_test.go @@ -32,13 +32,13 @@ var aliasingTests = []struct { } func testAliasing(t *testing.T, i int, x, y []byte, anyOverlap, inexactOverlap bool) { - isOverlapping := subtle.AnyOverlap(x, y) - if isOverlapping != anyOverlap { - t.Errorf("%d: wrong AnyOverlap result, expected %v, got %v", i, anyOverlap, isOverlapping) + any := subtle.AnyOverlap(x, y) + if any != anyOverlap { + t.Errorf("%d: wrong AnyOverlap result, expected %v, got %v", i, anyOverlap, any) } inexact := subtle.InexactOverlap(x, y) if inexact != inexactOverlap { - t.Errorf("%d: wrong InexactOverlap result, expected %v, got %v", i, inexactOverlap, isOverlapping) + t.Errorf("%d: wrong InexactOverlap result, expected %v, got %v", i, inexactOverlap, any) } }