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") }