This commit is contained in:
@@ -156,8 +156,7 @@ func cloneDetectionSnapshot(snapshot app.Snapshot) app.Snapshot {
|
||||
|
||||
func applyDetectionCommand(t *testing.T, model Model, command tea.Cmd) (Model, tea.Cmd) {
|
||||
t.Helper()
|
||||
updated, next := model.Update(command())
|
||||
return updated.(Model), next
|
||||
return applyOperationCommand(t, model, command)
|
||||
}
|
||||
|
||||
func assertOrder(t *testing.T, view string, values ...string) {
|
||||
|
||||
Reference in New Issue
Block a user