Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: yangyang <[email protected]>
  • Loading branch information
yangyy93 committed Feb 2, 2024
1 parent 096857d commit 8facf74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/dag/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1480,10 +1480,10 @@ func TestOutlierDetectionPolicy(t *testing.T) {
t.Run(name, func(t *testing.T) {
got, gotErr := outlierDetectionPolicy(nil, tc.in)
if tc.wantErr {
assert.Error(t, gotErr)
require.Error(t, gotErr)
} else {
assert.Equal(t, tc.want, got)
assert.NoError(t, gotErr)
require.NoError(t, gotErr)
}
})
}
Expand Down

0 comments on commit 8facf74

Please sign in to comment.