From 7518b0882ae333e5a367a6f8c8be9d1e7ab55cd2 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Wed, 2 May 2018 13:58:11 -0400 Subject: [PATCH] exif: Bugfix to message in test. - Put Travis badges in documentation. --- README.md | 3 +++ exif_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96bb0a4..d3e0adf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build Status](https://travis-ci.org/dsoprea/go-multiparse.svg?branch=master)](https://travis-ci.org/dsoprea/go-exif) +[![Coverage Status](https://coveralls.io/repos/github/dsoprea/go-multiparse/badge.svg?branch=master)](https://coveralls.io/github/dsoprea/go-exif?branch=master) + ## Overview This package provides native Go functionality to parse EXIF information out of images. diff --git a/exif_test.go b/exif_test.go index 82efb10..c8bfb83 100644 --- a/exif_test.go +++ b/exif_test.go @@ -207,7 +207,7 @@ func TestCollect(t *testing.T) { lookup := index.Lookup if rootIfd.Offset != RootIfdExifOffset { - t.Fatalf("Root-IFD not correct: (0x%04d).", rootIfd) + t.Fatalf("Root-IFD not correct: (0x%04d).", rootIfd.Offset) } else if rootIfd.Id != 0 { t.Fatalf("Root-IFD does not have the right ID: (%d)", rootIfd.Id) } else if tree[0] != rootIfd {