diff --git a/db_test.go b/db_test.go index a89df13..b6e153c 100644 --- a/db_test.go +++ b/db_test.go @@ -204,9 +204,7 @@ func TestUnmarshalRaw(t *testing.T) { assert.NoError(t, err) _, err = db.Delete(ctx, "users") - if err != nil { - t.Fatal(err) - } + assert.NoError(t, err) username := "johnny" password := "123" diff --git a/go.mod b/go.mod index 7b6ef39..4c7e921 100644 --- a/go.mod +++ b/go.mod @@ -2,13 +2,12 @@ module github.com/surrealdb/surrealdb.go go 1.18 -require ( - github.com/gorilla/websocket v1.5.0 - github.com/stretchr/testify v1.8.2 -) +require github.com/gorilla/websocket v1.5.0 require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/objx v0.5.0 // indirect + github.com/stretchr/testify v1.8.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect )