output error too

This commit is contained in:
Saxon Milton 2018-04-16 14:35:49 +09:30
parent 928580eb0b
commit bd473938b2
1 changed files with 1 additions and 1 deletions

View File

@ -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] {