File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -984,6 +984,7 @@ func TestConfirmDeny(t *testing.T) {
984984
985985 if confirmCallEvent == nil {
986986 t .Fatalf ("No confirm call event" )
987+ return
987988 }
988989
989990 if ! strings .Contains (confirmCallEvent .Input , "\" ls\" " ) {
@@ -1055,6 +1056,7 @@ func TestPrompt(t *testing.T) {
10551056
10561057 if promptFrame == nil {
10571058 t .Fatalf ("No prompt call event" )
1059+ return
10581060 }
10591061
10601062 if promptFrame .Sensitive {
@@ -1126,6 +1128,7 @@ func TestPromptWithMetadata(t *testing.T) {
11261128
11271129 if promptFrame == nil {
11281130 t .Fatalf ("No prompt call event" )
1131+ return
11291132 }
11301133
11311134 if promptFrame .Sensitive {
@@ -1152,6 +1155,7 @@ func TestPromptWithMetadata(t *testing.T) {
11521155 }
11531156
11541157 // Read the remainder of the events
1158+ //nolint:revive
11551159 for range run .Events () {
11561160 }
11571161
You can’t perform that action at this time.
0 commit comments