fix wrong type for formatting

This commit is contained in:
Slemgrim 2017-11-21 19:15:24 +08:00
parent a6577dfae8
commit 0400041771
1 changed files with 1 additions and 1 deletions

View File

@ -987,7 +987,7 @@ func TestUnmarshalNestedStruct(t *testing.T) {
}
if out.Boss.HiredAt.IsZero() {
t.Fatalf("expected out.Boss.HiredAt to be zero, but got `%d`", out.Boss.HiredAt)
t.Fatalf("expected out.Boss.HiredAt to be zero, but got `%t`", out.Boss.HiredAt.IsZero())
}
}