mirror of https://github.com/sirupsen/logrus.git
fix test description
This commit is contained in:
parent
962ceebd51
commit
05a8f4db95
|
@ -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"])
|
||||||
|
|
Loading…
Reference in New Issue