@@ -344,11 +344,11 @@ func TestArrayShape_Inherit(t *testing.T) {
344
344
},
345
345
},
346
346
MinItems : func () * uint64 {
347
- i := uint64 (3 )
347
+ i := uint64 (1 )
348
348
return & i
349
349
}(),
350
350
MaxItems : func () * uint64 {
351
- i := uint64 (3 )
351
+ i := uint64 (6 )
352
352
return & i
353
353
}(),
354
354
UniqueItems : func () * bool {
@@ -427,7 +427,7 @@ func TestArrayShape_Inherit(t *testing.T) {
427
427
BaseShape : & BaseShape {},
428
428
ArrayFacets : ArrayFacets {
429
429
MinItems : func () * uint64 {
430
- i := uint64 (2 )
430
+ i := uint64 (1 )
431
431
return & i
432
432
}(),
433
433
},
@@ -437,7 +437,7 @@ func TestArrayShape_Inherit(t *testing.T) {
437
437
BaseShape : & BaseShape {},
438
438
ArrayFacets : ArrayFacets {
439
439
MinItems : func () * uint64 {
440
- i := uint64 (1 )
440
+ i := uint64 (2 )
441
441
return & i
442
442
}(),
443
443
},
@@ -451,7 +451,7 @@ func TestArrayShape_Inherit(t *testing.T) {
451
451
BaseShape : & BaseShape {},
452
452
ArrayFacets : ArrayFacets {
453
453
MaxItems : func () * uint64 {
454
- i := uint64 (1 )
454
+ i := uint64 (2 )
455
455
return & i
456
456
}(),
457
457
},
@@ -461,7 +461,7 @@ func TestArrayShape_Inherit(t *testing.T) {
461
461
BaseShape : & BaseShape {},
462
462
ArrayFacets : ArrayFacets {
463
463
MaxItems : func () * uint64 {
464
- i := uint64 (2 )
464
+ i := uint64 (1 )
465
465
return & i
466
466
}(),
467
467
},
@@ -1780,7 +1780,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1780
1780
},
1781
1781
ObjectFacets : ObjectFacets {
1782
1782
MinProperties : func () * uint64 {
1783
- i := uint64 (2 )
1783
+ i := uint64 (4 )
1784
1784
return & i
1785
1785
}(),
1786
1786
},
@@ -1792,7 +1792,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1792
1792
},
1793
1793
ObjectFacets : ObjectFacets {
1794
1794
MinProperties : func () * uint64 {
1795
- i := uint64 (4 )
1795
+ i := uint64 (2 )
1796
1796
return & i
1797
1797
}(),
1798
1798
},
@@ -1802,7 +1802,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1802
1802
if got .MinProperties == nil {
1803
1803
return "MinProperties hasn't been inherited" , false
1804
1804
}
1805
- if * got .MinProperties != 2 {
1805
+ if * got .MinProperties != 4 {
1806
1806
return "MinProperties hasn't been inherited correctly" , false
1807
1807
}
1808
1808
return "" , true
@@ -1847,7 +1847,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1847
1847
},
1848
1848
ObjectFacets : ObjectFacets {
1849
1849
MinProperties : func () * uint64 {
1850
- i := uint64 (4 )
1850
+ i := uint64 (2 )
1851
1851
return & i
1852
1852
}(),
1853
1853
},
@@ -1859,7 +1859,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1859
1859
},
1860
1860
ObjectFacets : ObjectFacets {
1861
1861
MinProperties : func () * uint64 {
1862
- i := uint64 (2 )
1862
+ i := uint64 (4 )
1863
1863
return & i
1864
1864
}(),
1865
1865
},
@@ -1870,7 +1870,7 @@ func TestObjectShape_inheritMinProperties(t *testing.T) {
1870
1870
if got .MinProperties == nil {
1871
1871
return "MinProperties hasn't been inherited" , false
1872
1872
}
1873
- if * got .MinProperties != 4 {
1873
+ if * got .MinProperties != 2 {
1874
1874
return "MinProperties hasn't been inherited correctly" , false
1875
1875
}
1876
1876
return "" , true
@@ -1918,7 +1918,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
1918
1918
},
1919
1919
ObjectFacets : ObjectFacets {
1920
1920
MaxProperties : func () * uint64 {
1921
- i := uint64 (4 )
1921
+ i := uint64 (2 )
1922
1922
return & i
1923
1923
}(),
1924
1924
},
@@ -1930,7 +1930,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
1930
1930
},
1931
1931
ObjectFacets : ObjectFacets {
1932
1932
MaxProperties : func () * uint64 {
1933
- i := uint64 (2 )
1933
+ i := uint64 (4 )
1934
1934
return & i
1935
1935
}(),
1936
1936
},
@@ -1940,7 +1940,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
1940
1940
if got .MaxProperties == nil {
1941
1941
return "MaxProperties hasn't been inherited" , false
1942
1942
}
1943
- if * got .MaxProperties != 4 {
1943
+ if * got .MaxProperties != 2 {
1944
1944
return "MaxProperties hasn't been inherited correctly" , false
1945
1945
}
1946
1946
return "" , true
@@ -1985,7 +1985,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
1985
1985
},
1986
1986
ObjectFacets : ObjectFacets {
1987
1987
MaxProperties : func () * uint64 {
1988
- i := uint64 (2 )
1988
+ i := uint64 (4 )
1989
1989
return & i
1990
1990
}(),
1991
1991
},
@@ -1997,7 +1997,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
1997
1997
},
1998
1998
ObjectFacets : ObjectFacets {
1999
1999
MaxProperties : func () * uint64 {
2000
- i := uint64 (4 )
2000
+ i := uint64 (2 )
2001
2001
return & i
2002
2002
}(),
2003
2003
},
@@ -2008,7 +2008,7 @@ func TestObjectShape_inheritMaxProperties(t *testing.T) {
2008
2008
if got .MaxProperties == nil {
2009
2009
return "MaxProperties hasn't been inherited" , false
2010
2010
}
2011
- if * got .MaxProperties != 2 {
2011
+ if * got .MaxProperties != 4 {
2012
2012
return "MaxProperties hasn't been inherited correctly" , false
2013
2013
}
2014
2014
return "" , true
@@ -2535,11 +2535,11 @@ func TestObjectShape_inherit(t *testing.T) {
2535
2535
},
2536
2536
ObjectFacets : ObjectFacets {
2537
2537
MinProperties : func () * uint64 {
2538
- i := uint64 (4 )
2538
+ i := uint64 (1 )
2539
2539
return & i
2540
2540
}(),
2541
2541
MaxProperties : func () * uint64 {
2542
- i := uint64 (2 )
2542
+ i := uint64 (5 )
2543
2543
return & i
2544
2544
}(),
2545
2545
Properties : func () * orderedmap.OrderedMap [string , Property ] {
@@ -2700,7 +2700,7 @@ func TestObjectShape_inherit(t *testing.T) {
2700
2700
},
2701
2701
ObjectFacets : ObjectFacets {
2702
2702
MinProperties : func () * uint64 {
2703
- i := uint64 (4 )
2703
+ i := uint64 (2 )
2704
2704
return & i
2705
2705
}(),
2706
2706
},
@@ -2712,7 +2712,7 @@ func TestObjectShape_inherit(t *testing.T) {
2712
2712
},
2713
2713
ObjectFacets : ObjectFacets {
2714
2714
MinProperties : func () * uint64 {
2715
- i := uint64 (2 )
2715
+ i := uint64 (4 )
2716
2716
return & i
2717
2717
}(),
2718
2718
},
@@ -2728,7 +2728,7 @@ func TestObjectShape_inherit(t *testing.T) {
2728
2728
},
2729
2729
ObjectFacets : ObjectFacets {
2730
2730
MaxProperties : func () * uint64 {
2731
- i := uint64 (2 )
2731
+ i := uint64 (4 )
2732
2732
return & i
2733
2733
}(),
2734
2734
},
@@ -2740,7 +2740,7 @@ func TestObjectShape_inherit(t *testing.T) {
2740
2740
},
2741
2741
ObjectFacets : ObjectFacets {
2742
2742
MaxProperties : func () * uint64 {
2743
- i := uint64 (4 )
2743
+ i := uint64 (2 )
2744
2744
return & i
2745
2745
}(),
2746
2746
},
0 commit comments