From fe20d2c334bf1a8d0c697d21cba0bf2eb8065ea2 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Mon, 30 Apr 2018 02:40:41 -0400 Subject: [PATCH] ifd_buider_encode: Fixed test. - Because of addressing bugfix. --- ifd_builder_encode_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ifd_builder_encode_test.go b/ifd_builder_encode_test.go index 4736c99..44c6aef 100644 --- a/ifd_builder_encode_test.go +++ b/ifd_builder_encode_test.go @@ -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)) } }