before the great git rework

This commit is contained in:
2026-10-30 11:27:44 +01:00
parent 9bdda896af
commit b9c03a7637
45 changed files with 70 additions and 562 deletions
@@ -11,7 +11,7 @@ import Testing
@Test func everyShortcutTheAppHandlesIsListed() {
let listed = Set(ShortcutCatalog.groups.flatMap(\.rows).map { $0.keys.joined() })
let handled = ["⌘F", "⌘↑↓", "↵", "⌘←→", "↑↓", "⇧⌘O", "⌘O", "⌘→", "⌘N", "⌘P",
let handled = ["⌘F", "⌘↑↓", "↵", "⌘←→", "↑↓", "⇧⌘O", "⌘O", "⌘→", "⌘P",
"⌘C", "⌘↵", "⌘G", "⌘M", "⌘S", "⌘.", "⌘A", "⌘L", "Esc",
"⌘W", "⌘R", "⇧⌘N", "?", "⌘click", "⌘0", "⌘+", "⌘−"]
#expect(Set(handled).subtracting(listed).isEmpty)
@@ -35,11 +35,6 @@ import Testing
#expect(!row.label.isEmpty)
}
}
@Test func theNotePassOnSitsInTheAgentGroup() {
let agent = ShortcutCatalog.groups.first { $0.title == "Agent" }
#expect(agent?.rows.contains(ShortcutRow(keys: ["⌘", "P"], label: "Pass on the whole note")) == true)
}
}
@Suite struct ListCursorTests {