test: use google cmp library to do the deep reflect
The cmp library has two advantages: - it shows diffs between compared values - it allows ignoring fields based on field name or type
This commit is contained in:
parent
268befa435
commit
613b659b95
4 changed files with 8 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ BuildRequires: golang(github.com/coreos/go-systemd/activation)
|
|||
BuildRequires: golang(github.com/google/uuid)
|
||||
BuildRequires: golang(github.com/julienschmidt/httprouter)
|
||||
BuildRequires: golang(github.com/gobwas/glob)
|
||||
BuildRequires: golang(github.com/google/go-cmp/cmp)
|
||||
|
||||
Requires: systemd
|
||||
Requires: osbuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue