Assume empty field/tag value is not useful, fix test

This commit is contained in:
Greg Linton 2018-07-05 11:05:22 -06:00
parent 2e724d8d02
commit a7fb1c280f
1 changed files with 2 additions and 3 deletions

View File

@ -222,7 +222,7 @@ func TestNoMatches(t *testing.T) {
},
},
{
message: "Should emit empty string when result_key given but regex doesn't match",
message: "Shouldn't emit empty string when result_key given but regex doesn't match",
converter: converter{
Key: "request",
Pattern: "not_match",
@ -231,7 +231,6 @@ func TestNoMatches(t *testing.T) {
},
expectedFields: map[string]interface{}{
"request": "/users/42/",
"new_field": "",
},
},
}