summaryrefslogtreecommitdiff
path: root/test/utils/matchers.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/matchers.go')
-rw-r--r--test/utils/matchers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/matchers.go b/test/utils/matchers.go
index 288779b63..85a89aa49 100644
--- a/test/utils/matchers.go
+++ b/test/utils/matchers.go
@@ -184,7 +184,7 @@ func (matcher *ValidJSONMatcher) Match(actual interface{}) (success bool, err er
var i interface{}
if err := json.Unmarshal([]byte(s), &i); err != nil {
- return false, nil
+ return false, err
}
return true, nil
}