test(tui): cover patch diff display aliases (#35810)

This commit is contained in:
Kit Langton 2026-07-07 19:44:54 -04:00 committed by GitHub
commit e25a724bc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,8 @@ describe("TUI inline tool wrapping", () => {
// Legacy tool names normalize to their renamed views.
expect(toolDisplay("bash")).toBe("shell")
expect(toolDisplay("task")).toBe("subagent")
expect(toolDisplay("apply_patch")).toBe("patch")
expect(toolDisplay("patch")).toBe("patch")
expect(toolDisplay("plugin_tool")).toBe("generic")
})