Skip to content

Commit

Permalink
chore: cleanup style
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeis committed Nov 28, 2024
1 parent 4d5d8d8 commit ed65738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/db/fsdb/patterns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ func TestApplyVariables(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
result, err := entity.applyVariables(tt.pattern, tt.variables, tt.input)
err := entity.applyVariables(tt.pattern, tt.variables, tt.input)

if tt.wantErr {
assert.Error(t, err)
return
}

assert.NoError(t, err)
assert.Equal(t, tt.want, result.Pattern)
assert.Equal(t, tt.want, tt.pattern.Pattern)
})
}
}
Expand Down

0 comments on commit ed65738

Please sign in to comment.