Skip to content

Commit

Permalink
Rename TestBadCondition to TestConditions
Browse files Browse the repository at this point in the history
This test doesn’t actually test any bad conditions. Plus there is another test in the same directory with the name TestBadCondition.
  • Loading branch information
andrewkroh authored and ruflin committed May 8, 2017
1 parent 25363a0 commit 8984f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/processors/condition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (c *countFilter) Run(e common.MapStr) (common.MapStr, error) {

func (c *countFilter) String() string { return "count" }

func TestBadCondition(t *testing.T) {
func TestConditions(t *testing.T) {

if testing.Verbose() {
logp.LogInit(logp.LOG_DEBUG, "", false, true, []string{"*"})
Expand Down

0 comments on commit 8984f1c

Please sign in to comment.