style(test): dart format settings + keymap category tests

Reflow lines `dart format` collapses — the T-451/T-452 test additions were
committed before `make format` ran, so the committed copies were unformatted.
No behavior change; keeps the push format gate green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-17 14:07:47 +02:00
co-authored by Claude Opus 4.8
parent 79c5294d44
commit de1e96c510
2 changed files with 5 additions and 5 deletions
@@ -49,10 +49,7 @@ void main() {
});
test('contributes a Keymap settings category routed through the preset commands (T-451)', () {
final category = KeybindingsUiExtension().contributions
.whereType<SettingsCategoryContribution>()
.firstWhere((c) => c.id == 'keymap')
.category;
final category = KeybindingsUiExtension().contributions.whereType<SettingsCategoryContribution>().firstWhere((c) => c.id == 'keymap').category;
expect(category.title, 'Keymap');
final field = category.sections.expand((s) => s.fields).firstWhere((f) => f.key == kKeymapPresetSetting);
expect(field.kind, SettingsFieldKind.select);
@@ -132,7 +132,10 @@ void main() {
label: 'Preset',
defaultValue: 'default',
applyCommandPrefix: 'test.apply.',
options: [SettingsOption(value: 'default', label: 'Default'), SettingsOption(value: 'vim', label: 'Vim')],
options: [
SettingsOption(value: 'default', label: 'Default'),
SettingsOption(value: 'vim', label: 'Vim'),
],
),
],
),