File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 11package postgres
22
33import (
4- "fmt"
54 "github.com/go-jet/jet/v2/internal/utils/ptr"
65 "github.com/stretchr/testify/assert"
76
@@ -84,11 +83,6 @@ func TestAllTypesSelectJson(t *testing.T) {
8483 }
8584 dest [1 ].Timestampz = toCET (t , dest [1 ].Timestampz )
8685
87- fmt .Println ("dest[0]:" )
88- testutils .PrintJson (dest [0 ])
89- fmt .Println ("allTypesRow0:" )
90- testutils .PrintJson (allTypesRow0 )
91-
9286 testutils .AssertJsonEqual (t , dest [0 ], allTypesRow0 )
9387 testutils .AssertJsonEqual (t , dest [1 ], allTypesRow1 )
9488}
Original file line number Diff line number Diff line change 4646
4747 err = stmt .QueryJSON (ctx , db , & dest2 )
4848 require .NoError (t , err )
49- testutils .PrintJson (dest2 )
49+ // testutils.PrintJson(dest2)
5050 testutils .AssertDeepEqual (t , dest2 , map [string ]interface {}{
5151 "actorID" : float64 (2 ),
5252 "firstName" : "Nick" ,
You can’t perform that action at this time.
0 commit comments