Skip to content

Commit

Permalink
Fix failing conditions test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Nov 27, 2018
1 parent 97abfe6 commit a5cf04c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libbeat/autodiscover/template/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ func TestNilConditionConfig(t *testing.T) {
}

_, err = NewConfigMapper(mappings)
assert.Error(t, err)
assert.NoError(t, err)
assert.Nil(t, mappings[0].ConditionConfig)
}

0 comments on commit a5cf04c

Please sign in to comment.