stream/mts/meta/meta_test.go: Updated func comment for TestReadFrom

This commit is contained in:
saxon 2019-02-06 00:01:17 +10:30
parent 35c06c97aa
commit 9b5eb558ef
1 changed files with 2 additions and 0 deletions

View File

@ -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")