fix test description

This commit is contained in:
Dave Clendenan 2016-11-30 10:47:03 -08:00
parent 962ceebd51
commit 05a8f4db95
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ func TestNestedLoggingReportsCorrectCaller(t *testing.T) {
err = json.Unmarshal(buffer.Bytes(), &fields) err = json.Unmarshal(buffer.Bytes(), &fields)
assert.NoError(t, err, "should have decoded second message") assert.NoError(t, err, "should have decoded second message")
assert.Equal(t, 10, len(fields), "should have all builtin fields plus foo,bar,baz") assert.Equal(t, 10, len(fields), "should have all builtin fields plus foo,bar,baz,...")
assert.Equal(t, "omg it is!", fields["msg"]) assert.Equal(t, "omg it is!", fields["msg"])
assert.Equal(t, "a", fields["foo"]) assert.Equal(t, "a", fields["foo"])
assert.Equal(t, "b", fields["bar"]) assert.Equal(t, "b", fields["bar"])