(t *testing.T)
| 25 | } |
| 26 | |
| 27 | func TestDecodeNonASCIIString(t *testing.T) { |
| 28 | s := "hello\x80world" |
| 29 | require.Equal(t, "hello\uFFFDworld", decodeNullPaddedASCIIString([]byte(s))) |
| 30 | } |
| 31 | |
| 32 | func TestEncodeASCIIString(t *testing.T) { |
| 33 | strings := []string{ |
nothing calls this directly
no test coverage detected