From bd473938b255515874db76e0ff8172853a7292d0 Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Mon, 16 Apr 2018 14:35:49 +0930 Subject: [PATCH] output error too --- mpegts/mpegts_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpegts/mpegts_test.go b/mpegts/mpegts_test.go index ac63238c..68ea0152 100644 --- a/mpegts/mpegts_test.go +++ b/mpegts/mpegts_test.go @@ -62,7 +62,7 @@ func TestMpegTsToByteSlice(t *testing.T) { expectedOutput = append(expectedOutput, payload...) tsPktAsByteSlice, err := tsPkt.ToByteSlice() if err != nil { - t.Errorf("Should not have got error!") + t.Errorf("Should not have got error!: %v",err) } for i := 0; i < 188; i++ { if tsPktAsByteSlice[i] != expectedOutput[i] {