(t *testing.T)
| 42 | } |
| 43 | |
| 44 | func TestBytesToStringEmpty(t *testing.T) { |
| 45 | if got := BytesToString([]byte{}); got != "" { |
| 46 | t.Fatalf("BytesToString([]byte{}) = %q; want empty string", got) |
| 47 | } |
| 48 | if got := BytesToString(nil); got != "" { |
| 49 | t.Fatalf("BytesToString(nil) = %q; want empty string", got) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 54 | const ( |
nothing calls this directly
no test coverage detected