From 9ac1370cac952b953b920d5da4b71d7009bd9636 Mon Sep 17 00:00:00 2001 From: Sorin Stanculeanu Date: Thu, 5 Dec 2024 12:07:30 +0200 Subject: [PATCH] fix linter --- node/external/transactionAPI/fieldsHandler_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/external/transactionAPI/fieldsHandler_test.go b/node/external/transactionAPI/fieldsHandler_test.go index 0be9d0124b..75b3ae6f81 100644 --- a/node/external/transactionAPI/fieldsHandler_test.go +++ b/node/external/transactionAPI/fieldsHandler_test.go @@ -20,11 +20,11 @@ func Test_newFieldsHandler(t *testing.T) { for _, field := range splitFields { require.True(t, fh.IsFieldSet(field), fmt.Sprintf("field %s is not set", field)) } - require.True(t, fh.IsFieldSet(hashField), fmt.Sprintf("hashField should have been returned by default")) + require.True(t, fh.IsFieldSet(hashField), "hashField should have been returned by default") fh = newFieldsHandler("*") for _, field := range splitFields { require.True(t, fh.IsFieldSet(field)) } - require.True(t, fh.IsFieldSet(hashField), fmt.Sprintf("hashField should have been returned by default")) + require.True(t, fh.IsFieldSet(hashField), "hashField should have been returned by default") }