mirror of
https://github.com/chaisql/chai.git
synced 2025-10-06 08:06:55 +08:00
Drop duration type
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user