exif: Bugfix to message in test.

- Put Travis badges in documentation.
pull/3/head
Dustin Oprea 2018-05-02 13:58:11 -04:00
parent 64e84ab28e
commit 7518b0882a
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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 {