File tree 1 file changed +4
-0
lines changed
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) {
984
984
985
985
if confirmCallEvent == nil {
986
986
t .Fatalf ("No confirm call event" )
987
+ return
987
988
}
988
989
989
990
if ! strings .Contains (confirmCallEvent .Input , "\" ls\" " ) {
@@ -1055,6 +1056,7 @@ func TestPrompt(t *testing.T) {
1055
1056
1056
1057
if promptFrame == nil {
1057
1058
t .Fatalf ("No prompt call event" )
1059
+ return
1058
1060
}
1059
1061
1060
1062
if promptFrame .Sensitive {
@@ -1126,6 +1128,7 @@ func TestPromptWithMetadata(t *testing.T) {
1126
1128
1127
1129
if promptFrame == nil {
1128
1130
t .Fatalf ("No prompt call event" )
1131
+ return
1129
1132
}
1130
1133
1131
1134
if promptFrame .Sensitive {
@@ -1152,6 +1155,7 @@ func TestPromptWithMetadata(t *testing.T) {
1152
1155
}
1153
1156
1154
1157
// Read the remainder of the events
1158
+ //nolint:revive
1155
1159
for range run .Events () {
1156
1160
}
1157
1161
You can’t perform that action at this time.
0 commit comments