This commit is contained in:
Gunnsteinn Hall 2018-09-28 11:45:46 +00:00
parent b19b5a6054
commit d9acc8eeb3

View File

@ -12,7 +12,6 @@ func TestPDFDocEncodingDecode(t *testing.T) {
{[]byte{0x47, 0x65, 0x72, 0xfe, 0x72, 0xfa, 0xf0, 0x75, 0x72}, "Gerþrúður"},
{[]byte("Ger\xfer\xfa\xf0ur"), "Gerþrúður"},
}
v := []byte{0x47, 0x65, 0x72, 0xfe, 0x72, 0xfa, 0xf0, 0x75, 0x72}
for _, testcase := range testcases {
str := PDFDocEncodingToString(testcase.Encoded)