changes per @ethanfrey comments

This commit is contained in:
Anton Kaliaev
2017-05-04 19:39:16 +04:00
parent b2bd039923
commit ea01d003d1
6 changed files with 57 additions and 39 deletions

View File

@ -12,7 +12,7 @@ func TestNopLogger(t *testing.T) {
if err := logger.Info("Hello", "abc", 123); err != nil {
t.Error(err)
}
if err := log.With(logger, "def", "ghi").Debug(""); err != nil {
if err := logger.With("def", "ghi").Debug(""); err != nil {
t.Error(err)
}
}