Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Dec 5, 2024
1 parent d744ac4 commit 9ac1370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/external/transactionAPI/fieldsHandler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 9ac1370

Please sign in to comment.