(t *testing.T)
| 92 | } |
| 93 | |
| 94 | func TestBytesStringBase2(t *testing.T) { |
| 95 | for i, c := range base2Cases { |
| 96 | t.Run(fmt.Sprint(i, "-", c.value), func(t *testing.T) { |
| 97 | actual := BytesStringBase2(c.value) |
| 98 | require.Equal(t, c.expected, actual) |
| 99 | }) |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | func TestBytesString_base2EnvFalse(t *testing.T) { |
| 104 | t.Setenv(bytesStringBase2Envar, "false") |
nothing calls this directly
no test coverage detected