ran gofmt
This commit is contained in:
parent
216d1cead2
commit
bd2f797822
|
@ -59,10 +59,10 @@ func TestDecoder_GetLastPacketDuration(t *testing.T) {
|
|||
t.Fatalf("Couldn't decode data: %v", err)
|
||||
}
|
||||
samples, err := dec.LastPacketDuration()
|
||||
if err!=nil{
|
||||
t.Fatalf("Couldn't get last packet duration: %v",err)
|
||||
if err != nil {
|
||||
t.Fatalf("Couldn't get last packet duration: %v", err)
|
||||
}
|
||||
if samples!=n{
|
||||
if samples != n {
|
||||
t.Fatalf("Wrong duration length. Expected %d. Got %d", n, samples)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue