0
0

Merge pull request #324 from Shugyousha/trivial

Trivial cleanup
This commit is contained in:
Marty Schoch 2016-01-14 10:51:06 -05:00
commit f5344b191a
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ func NewDictionaryRowK(key []byte) (*DictionaryRow, error) {
}
func (dr *DictionaryRow) parseDictionaryV(value []byte) error {
buf := bytes.NewBuffer((value))
buf := bytes.NewBuffer(value)
count, err := binary.ReadUvarint(buf)
if err != nil {

View File

@ -399,6 +399,6 @@ func TestMappingBool(t *testing.T) {
t.Errorf("expected to find pointer to bool field named 'pprop'")
}
if count != 2 {
t.Errorf("expected to find 1 find, found %d", count)
t.Errorf("expected to find 2 fields, found %d", count)
}
}