From eacbd633bd527564151fb67f343a697e382a19f4 Mon Sep 17 00:00:00 2001 From: Elara6331 Date: Mon, 12 Feb 2024 10:53:12 -0800 Subject: [PATCH] Run formatter --- func_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func_test.go b/func_test.go index d5cee04..c73be69 100644 --- a/func_test.go +++ b/func_test.go @@ -93,7 +93,7 @@ func TestFuncCallVariadic(t *testing.T) { } func TestFuncCallError(t *testing.T) { - var expectedErr = errors.New("expected error") + expectedErr := errors.New("expected error") fn := func() error { return expectedErr } // test() @@ -131,7 +131,7 @@ func TestFuncCallMultiReturn(t *testing.T) { } func TestFuncCallMultiReturnError(t *testing.T) { - var expectedErr = errors.New("expected error") + expectedErr := errors.New("expected error") fn := func() (string, error) { return "", expectedErr } // test()