MCPcopy
hub / github.com/kopia/kopia / TestBytesString_base2EnvTrue

Function TestBytesString_base2EnvTrue

internal/units/units_test.go:114–123  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

112}
113
114func TestBytesString_base2EnvTrue(t *testing.T) {
115 t.Setenv(bytesStringBase2Envar, "true")
116
117 for i, c := range base2Cases {
118 t.Run(fmt.Sprint(i, "-", c.value), func(t *testing.T) {
119 actual := BytesString(c.value)
120 require.Equal(t, c.expected, actual)
121 })
122 }
123}

Callers

nothing calls this directly

Calls 3

BytesStringFunction · 0.85
EqualMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected