Drop duration type

This commit is contained in:
Asdine El Hrychy
2020-09-28 22:32:06 +04:00
parent e146328321
commit dfdbc16b18
24 changed files with 11 additions and 312 deletions

View File

@@ -4,7 +4,6 @@ package encodingtest
import (
"bytes"
"testing"
"time"
"github.com/genjidb/genji/document"
"github.com/genjidb/genji/document/encoding"
@@ -97,8 +96,7 @@ func testArrayGetByIndex(t *testing.T, codecBuilder func() encoding.Codec) {
arr := document.NewValueBuffer().
Append(document.NewIntegerValue(10)).
Append(document.NewNullValue()).
Append(document.NewTextValue("john")).
Append(document.NewDurationValue(10 * time.Nanosecond))
Append(document.NewTextValue("john"))
var buf bytes.Buffer