From 96a731b5920a7eb465d2f5812be54c325e30f2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=81=AA?= Date: Tue, 18 Jan 2022 21:37:03 +0800 Subject: [PATCH] fix: no error is logged when the assertion fails --- response.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/response.go b/response.go index 258393cd..a365c596 100644 --- a/response.go +++ b/response.go @@ -3,12 +3,13 @@ package hrp import ( "encoding/json" "fmt" - "github.com/pkg/errors" "io/ioutil" "net/http" "strings" "testing" + "github.com/pkg/errors" + "github.com/jmespath/go-jmespath" "github.com/rs/zerolog/log"