Work on tests and query

This commit is contained in:
Daniel 2018-09-12 17:10:35 +02:00
parent 014f944b2a
commit 1c7f98d9ba
13 changed files with 288 additions and 88 deletions

View file

@ -30,7 +30,7 @@ func TestWrapper(t *testing.T) {
t.Error("data mismatch")
}
encoded, err := wrapper.Marshal(dsd.JSON)
encoded, err := wrapper.Marshal(wrapper, dsd.JSON)
if err != nil {
t.Fatal(err)
}
@ -39,7 +39,7 @@ func TestWrapper(t *testing.T) {
}
wrapper.SetMeta(&Meta{})
raw, err := wrapper.MarshalRecord()
raw, err := wrapper.MarshalRecord(wrapper)
if err != nil {
t.Fatal(err)
}