Merge branch 'main' into worktree-agent-a027d4a4581416c93
This commit is contained in:
@@ -24,8 +24,13 @@ void main() {
|
||||
});
|
||||
|
||||
test('scattered letters in a long note do not match', () {
|
||||
// `float` occurs only as scattered letters in other entries' notes.
|
||||
expect(actions('float'), everyElement(contains('floating')));
|
||||
// `float` occurs as scattered letters in many entries' notes; only the
|
||||
// entries that say "floating" match.
|
||||
final found = [
|
||||
for (final match in filterShortcuts(registry.entries, 'float'))
|
||||
'${match.entry.action} ${match.entry.caveat ?? ''}',
|
||||
];
|
||||
expect(found, everyElement(contains('floating')));
|
||||
});
|
||||
|
||||
test('keys are searchable with or without the plus', () {
|
||||
|
||||
Reference in New Issue
Block a user