MCPcopy Index your code
hub / github.com/coder/coder / TestOmit

Function TestOmit

coderd/util/slice/slice_test.go:202–208  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

200}
201
202func TestOmit(t *testing.T) {
203 t.Parallel()
204
205 assert.Equal(t, []string{"a", "b", "f"},
206 slice.Omit([]string{"a", "b", "c", "d", "e", "f"}, "c", "d", "e"),
207 )
208}
209
210func TestSymmetricDifference(t *testing.T) {
211 t.Parallel()

Callers

nothing calls this directly

Calls 2

OmitFunction · 0.92
EqualMethod · 0.45

Tested by

no test coverage detected