before the great git rework
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user