diff --git a/libbeat/processors/fingerprint/fingerprint_test.go b/libbeat/processors/fingerprint/fingerprint_test.go index 9e51f04b8326..5f6bdb70b5ed 100644 --- a/libbeat/processors/fingerprint/fingerprint_test.go +++ b/libbeat/processors/fingerprint/fingerprint_test.go @@ -467,10 +467,10 @@ func TestProcessorStringer(t *testing.T) { "encoding": "hex", "method": "md5", }) - assert.NoError(t, err) + require.NoError(t, err) p, err := New(testConfig) - assert.NoError(t, err) - assert.Equal(t, `fingerprint={"Method":"md5","Encoding":"hex","Fields":["field1"],"TargetField":"fingerprint","IgnoreMissing":false}`, fmt.Sprint(p)) + require.NoError(t, err) + require.Equal(t, `fingerprint={"Method":"md5","Encoding":"hex","Fields":["field1"],"TargetField":"fingerprint","IgnoreMissing":false}`, fmt.Sprint(p)) } func BenchmarkHashMethods(b *testing.B) {