File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ func TestTuple(t *testing.T) {
419419 require .True (t , ok )
420420
421421 params := result .EndTuple ().Build ().ToYDB (a )
422- require .Equal (t , paramsToJSON (
422+ require .Equal (t , xtest . ToJSON (
423423 map [string ]* Ydb.TypedValue {
424424 "$x" : {
425425 Type : & Ydb.Type {
@@ -437,7 +437,7 @@ func TestTuple(t *testing.T) {
437437 },
438438 },
439439 },
440- }), paramsToJSON (params ))
440+ }), xtest . ToJSON (params ))
441441 })
442442 }
443443}
@@ -448,7 +448,7 @@ func TestTuple_AddItems(t *testing.T) {
448448 params := Builder {}.Param ("$x" ).BeginTuple ().
449449 AddItems (value .Uint64Value (123 ), value .Uint64Value (321 )).
450450 EndTuple ().Build ().ToYDB (a )
451- require .Equal (t , paramsToJSON (
451+ require .Equal (t , xtest . ToJSON (
452452 map [string ]* Ydb.TypedValue {
453453 "$x" : {
454454 Type : & Ydb.Type {
@@ -484,5 +484,5 @@ func TestTuple_AddItems(t *testing.T) {
484484 },
485485 },
486486 },
487- }), paramsToJSON (params ))
488- }
487+ }), xtest . ToJSON (params ))
488+ }
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ func TestVariantTuple(t *testing.T) {
451451
452452 params := builder .EndTuple ().EndVariant ().Build ().ToYDB (a )
453453
454- require .Equal (t , paramsToJSON (
454+ require .Equal (t , xtest . ToJSON (
455455 map [string ]* Ydb.TypedValue {
456456 "$x" : {
457457 Type : & Ydb.Type {
@@ -473,7 +473,7 @@ func TestVariantTuple(t *testing.T) {
473473 },
474474 },
475475 },
476- }), paramsToJSON (params ))
476+ }), xtest . ToJSON (params ))
477477 })
478478 }
479479}
@@ -488,7 +488,7 @@ func TestVariantTuple_AddTypes(t *testing.T) {
488488 Bool (true ).
489489 EndTuple ().EndVariant ().Build ().ToYDB (a )
490490
491- require .Equal (t , paramsToJSON (
491+ require .Equal (t , xtest . ToJSON (
492492 map [string ]* Ydb.TypedValue {
493493 "$x" : {
494494 Type : & Ydb.Type {
@@ -524,5 +524,5 @@ func TestVariantTuple_AddTypes(t *testing.T) {
524524 VariantIndex : 1 ,
525525 },
526526 },
527- }), paramsToJSON (params ))
527+ }), xtest . ToJSON (params ))
528528}
You can’t perform that action at this time.
0 commit comments