Skip to content

Commit

Permalink
removed extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Jun 21, 2024
1 parent c2b7acd commit defe25f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ go 1.21

toolchain go1.22.2

require (
github.com/absolutelightning/go-immutable-adaptive-radix v1.0.88
github.com/hashicorp/go-uuid v1.0.3
)
require github.com/absolutelightning/go-immutable-adaptive-radix v1.0.88
32 changes: 0 additions & 32 deletions index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
crand "crypto/rand"
"encoding/binary"
"fmt"
"github.com/hashicorp/go-uuid"
"math/rand"
"reflect"
"sort"
Expand Down Expand Up @@ -78,37 +77,6 @@ func testObj() *TestObject {
}
return obj
}
func testObjUUID() *TestObject {
b := true
foo, _ := uuid.GenerateUUID()
obj := &TestObject{
ID: "my-cool-obj",
Foo: foo,
Fu: String("Fu"),
Boo: nil,
Bar: 42,
Baz: "yep",
Bam: &b,
Qux: []string{"Test", "Test2"},
Zod: map[string]string{
"Role": "Server",
"instance_type": "m3.medium",
"": "asdf",
},
Int: int(1),
Int8: int8(-1 << 7),
Int16: int16(-1 << 15),
Int32: int32(-1 << 31),
Int64: int64(-1 << 63),
Uint: uint(1),
Uint8: uint8(1<<8 - 1),
Uint16: uint16(1<<16 - 1),
Uint32: uint32(1<<32 - 1),
Uint64: uint64(1<<64 - 1),
Bool: false,
}
return obj
}

func TestStringFieldIndex_FromObject(t *testing.T) {
obj := testObj()
Expand Down

0 comments on commit defe25f

Please sign in to comment.