bump go-micro and micro to v2.3.0 (#510)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-03-18 00:57:10 +03:00
parent 27cdc3bd7e
commit 5d72cb3446

View File

@ -66,8 +66,7 @@ func TestWithFields(t *testing.T) {
func TestWithError(t *testing.T) {
logger.DefaultLogger = NewLogger()
logger.WithError(errors.New("I am Error")).Logf(logger.ErrorLevel, "testing: %s", "WithError")
logger.Fields(map[string]interface{}{"error": errors.New("I am Error")}).Logf(logger.ErrorLevel, "testing: %s", "WithError")
}
func TestWithHooks(t *testing.T) {