mirror of
https://github.com/asticode/go-astiav.git
synced 2025-11-02 20:34:02 +08:00
Fixed channel layout describe when nil
This commit is contained in:
@@ -13,4 +13,6 @@ func TestChannelLayout(t *testing.T) {
|
||||
require.True(t, cl.Valid())
|
||||
require.True(t, cl.Equal(ChannelLayoutStereo))
|
||||
require.False(t, cl.Equal(ChannelLayoutMono))
|
||||
cl = ChannelLayout{}
|
||||
require.Equal(t, "", cl.String())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user