mirror of https://github.com/dsoprea/go-exif.git
parent
c83ebaf2a7
commit
fe20d2c334
|
@ -550,10 +550,10 @@ func Test_IfdByteEncoder_encodeIfdToBytes_simple(t *testing.T) {
|
|||
0x00, 0x04,
|
||||
|
||||
// - Tags
|
||||
0x00, 0x0b, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x12, 0x6a,
|
||||
0x00, 0x0b, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x12, 0x34,
|
||||
0x00, 0xff, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x11, 0x22, 0x00, 0x00,
|
||||
0x01, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x33, 0x44, 0x55, 0x66,
|
||||
0x01, 0x3e, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x12, 0x75,
|
||||
0x01, 0x3e, 0x00, 0x05, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x12, 0x3f,
|
||||
|
||||
// - Next IFD offset
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -569,7 +569,7 @@ func Test_IfdByteEncoder_encodeIfdToBytes_simple(t *testing.T) {
|
|||
}
|
||||
|
||||
if bytes.Compare(tableAndAllocated, expectedIfdAndDataBytes) != 0 {
|
||||
t.Fatalf("IFD table and allocated data not correct: %v", DumpBytesToString(tableAndAllocated))
|
||||
t.Fatalf("IFD table and allocated data not correct: %v", DumpBytesClauseToString(tableAndAllocated))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue