mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-13 11:19:49 -06:00
Make GraphQL tests not depend on JSON serialization (#3238)
Instead compare the logical value the JSON represents
This commit is contained in:
@@ -32,7 +32,7 @@ func (suite *QueryGraphQLSuite) SetupTest() {
|
||||
func (suite *QueryGraphQLSuite) assertQueryResult(v types.Value, q, expect string) {
|
||||
buff := &bytes.Buffer{}
|
||||
Query(v, q, suite.vs, buff)
|
||||
suite.Equal(expect+"\n", string(buff.Bytes()))
|
||||
suite.JSONEq(expect, buff.String())
|
||||
}
|
||||
|
||||
func (suite *QueryGraphQLSuite) TestScalars() {
|
||||
|
||||
Reference in New Issue
Block a user