File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ func gnosticCommonTest(t testing.TB, fuzzer *fuzz.Fuzzer) {
120120 * v = & Info {}
121121 c .FuzzNoCustom (* v )
122122
123- (* v ).Title = c .RandString ()
123+ (* v ).Title = c .RandString () + "x"
124124 },
125125 func (v * Extensions , c fuzz.Continue ) {
126126 // gnostic parser only picks up x- vendor extensions
@@ -397,6 +397,19 @@ func TestGnosticConversionSmallDeterministic4(t *testing.T) {
397397 )
398398}
399399
400+ func TestGnosticConversionSmallDeterministic5 (t * testing.T ) {
401+ // A failed case of TestGnosticConversionSmallRandom
402+ // which failed during development/testing loop
403+ gnosticCommonTest (
404+ t ,
405+ fuzz .
406+ NewWithSeed (1646940131 ).
407+ NilChance (0.8 ).
408+ MaxDepth (10 ).
409+ NumElements (1 , 2 ),
410+ )
411+ }
412+
400413
401414func TestGnosticConversionSmallRandom (t * testing.T ) {
402415 seed := time .Now ().Unix ()
You can’t perform that action at this time.
0 commit comments