File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,9 @@ func TestCreateValidateRichParameters(t *testing.T) {
446
446
match := matches [i ]
447
447
value := matches [i + 1 ]
448
448
pty .ExpectMatch (match )
449
- pty .WriteLine (value )
449
+ if value != "" {
450
+ pty .WriteLine (value )
451
+ }
450
452
}
451
453
<- doneChan
452
454
})
@@ -481,7 +483,6 @@ func TestCreateValidateRichParameters(t *testing.T) {
481
483
match := matches [i ]
482
484
value := matches [i + 1 ]
483
485
pty .ExpectMatch (match )
484
-
485
486
if value != "" {
486
487
pty .WriteLine (value )
487
488
}
@@ -519,7 +520,9 @@ func TestCreateValidateRichParameters(t *testing.T) {
519
520
match := matches [i ]
520
521
value := matches [i + 1 ]
521
522
pty .ExpectMatch (match )
522
- pty .WriteLine (value )
523
+ if value != "" {
524
+ pty .WriteLine (value )
525
+ }
523
526
}
524
527
<- doneChan
525
528
})
You can’t perform that action at this time.
0 commit comments