fix: harden operations and configuration recovery
This commit is contained in:
@@ -139,7 +139,7 @@ func TestCompleteModelDialogResizeAndHelpPreserveMeaningfulFocus(t *testing.T) {
|
||||
|
||||
updated, command := model.Update(tea.KeyMsg{Type: tea.KeyEnter})
|
||||
model = updated.(Model)
|
||||
if command != nil || len(module.intents) != 1 || module.intents[0].Kind != app.DeleteProfile {
|
||||
if command == nil || len(module.intents) != 1 || module.intents[0].Kind != app.DeleteProfile {
|
||||
t.Fatalf("resize and Help changed confirmation focus: intents=%#v", module.intents)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user