mirror of https://bitbucket.org/ausocean/av.git
stream/mts/meta/meta_test.go: Updated func comment for TestReadFrom
This commit is contained in:
parent
35c06c97aa
commit
9b5eb558ef
|
@ -147,6 +147,8 @@ func TestEncode(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// TestReadFrom checks that we can correctly obtain a value for a partiular key
|
||||
// from a string of metadata using the ReadFrom func.
|
||||
func TestReadFrom(t *testing.T) {
|
||||
tstMeta := append([]byte{0x00, 0x10, 0x00, 0x12}, "loc=a,b,c\tts=12345"...)
|
||||
got, err := ReadFrom([]byte(tstMeta), "loc")
|
||||
|
|
Loading…
Reference in New Issue