commit
f5344b191a
|
@ -321,7 +321,7 @@ func NewDictionaryRowK(key []byte) (*DictionaryRow, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (dr *DictionaryRow) parseDictionaryV(value []byte) error {
|
func (dr *DictionaryRow) parseDictionaryV(value []byte) error {
|
||||||
buf := bytes.NewBuffer((value))
|
buf := bytes.NewBuffer(value)
|
||||||
|
|
||||||
count, err := binary.ReadUvarint(buf)
|
count, err := binary.ReadUvarint(buf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -399,6 +399,6 @@ func TestMappingBool(t *testing.T) {
|
||||||
t.Errorf("expected to find pointer to bool field named 'pprop'")
|
t.Errorf("expected to find pointer to bool field named 'pprop'")
|
||||||
}
|
}
|
||||||
if count != 2 {
|
if count != 2 {
|
||||||
t.Errorf("expected to find 1 find, found %d", count)
|
t.Errorf("expected to find 2 fields, found %d", count)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user