Skip to content

Commit

Permalink
Update indexed document tests to use new GMS json test package
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktobey committed Jun 10, 2024
1 parent d85962a commit 1e72313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/store/prolly/tree/json_indexed_document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tree
import (
"context"
"github.com/dolthub/go-mysql-server/sql"
"github.com/dolthub/go-mysql-server/sql/expression/function/json"
"github.com/dolthub/go-mysql-server/sql/expression/function/json/jsontests"
"github.com/dolthub/go-mysql-server/sql/types"
"github.com/stretchr/testify/require"
"testing"
Expand All @@ -25,6 +25,6 @@ func TestIndexedJsonDocument_Insert(t *testing.T) {
return newIndexedJsonDocumentFromValue(t, ctx, ns, s)
}

testCases := json.JsonInsertTestCases(t, convertStringToIndexedJsonDocument)
testCases := jsontests.JsonInsertTestCases(t, convertStringToIndexedJsonDocument)
json.RunJsonTests(t, testCases)
}

0 comments on commit 1e72313

Please sign in to comment.