Skip to content

Commit

Permalink
pam/gdmmodel-test: Do not check for received infos on explicit quits
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Oct 14, 2024
1 parent cfeba27 commit 1af5ac7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pam/internal/adapter/gdmmodel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,10 @@ func TestGdmModel(t *testing.T) {
if r != gdmTestEarlyStopExitStatus {
return
}
if slices.Contains(tc.messages, tea.Quit()) {
// Test required to quit, so we can't be reliable on what the status is.
return
}
}
}

Expand Down

0 comments on commit 1af5ac7

Please sign in to comment.