mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
tests: replace godebug by go-cmp for structure diffs
go-cmp is stricter and allow to catch more problems. Moreover, the output is a bit nicer.
This commit is contained in:
@@ -22,7 +22,7 @@ func TestFileInput(t *testing.T) {
|
||||
configuration.Paths = []string{path.Join("testdata", "file1.txt"), path.Join("testdata", "file2.txt")}
|
||||
|
||||
done := make(chan bool)
|
||||
expected := []pb.RawFlow{
|
||||
expected := []*pb.RawFlow{
|
||||
{
|
||||
Payload: []byte("hello world!\n"),
|
||||
SourceAddress: net.ParseIP("127.0.0.1").To16(),
|
||||
|
||||
Reference in New Issue
Block a user