mission control for agent skills
Go agent-skillsagent-toolsai-agentsai-toolsai-workflowclaude-codeclicoding-agentscommand-line-tooldeveloper-toolsgoopencodeproductivity-toolsskill-discoveryskill-managementskillsterminal-appterminal-uituiworkflow-automation
test(tui): verify symlink cleanup rescan success
Alvin Unreal7dec441f815f
diff --git a/internal/tui/tui_test.go b/internal/tui/tui_test.goindex f9dc6db..519db73 100644--- a/internal/tui/tui_test.go+++ b/internal/tui/tui_test.go@@ -744,6 +744,11 @@ func TestDeleteBrokenSymlinkRechecksPathBeforeRemove(t *testing.T) {if cmd == nil || next.actionResult != nil {t.Fatalf("expected cleanup success with rescan, result=%#v cmd=%v", next.actionResult, cmd)}+ updated, _ = next.Update(cmd())+ next = updated.(appModel)+ if next.actionResult != nil {+ t.Fatalf("expected successful cleanup result to stay clear after rescan, got %#v", next.actionResult)+ }if _, err := os.Lstat(brokenLink); !os.IsNotExist(err) {t.Fatalf("expected still-broken symlink to be deleted, lstat err=%v", err)}