mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
0 is the default value
This commit is contained in:
@@ -533,7 +533,7 @@ func TestLimitFilter(t *testing.T) {
|
||||
}
|
||||
if f.GetIsValid() {
|
||||
alert := models.Alert{}
|
||||
var index int = 0
|
||||
var index int
|
||||
for _, isMatch := range ft.IsMatch {
|
||||
m := f.Match(&alert, index)
|
||||
if m != isMatch {
|
||||
|
||||
Reference in New Issue
Block a user