MCPcopy
hub / github.com/cilium/cilium / TestStringMAC

Function TestStringMAC

pkg/types/macaddr_test.go:22–27  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

20}
21
22func TestStringMAC(t *testing.T) {
23 expectedStr := "01:02:03:04:05:06"
24 result := testMACAddress.String()
25
26 require.Equal(t, expectedStr, result)
27}

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
EqualMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…