Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Nov 27, 2024
1 parent b01a5e8 commit 8b20f40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/pkg/plugins/plugins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ func TestIteratePluginType(t *testing.T) {
return false
})
assert.Equal(t, 1, len(names))
assert.Contains(t, names, "test")
assert.NotContains(t, names, "test2")
// the order is not guaranteed, it can be "test" or "test2"
}

func TestIteratePlugin(t *testing.T) {
Expand Down

0 comments on commit 8b20f40

Please sign in to comment.