diff --git a/test/builtin/keybindings_ui/preset_commands_test.dart b/test/builtin/keybindings_ui/preset_commands_test.dart index 9d7f718c..7db6f0f6 100644 --- a/test/builtin/keybindings_ui/preset_commands_test.dart +++ b/test/builtin/keybindings_ui/preset_commands_test.dart @@ -49,10 +49,7 @@ void main() { }); test('contributes a Keymap settings category routed through the preset commands (T-451)', () { - final category = KeybindingsUiExtension().contributions - .whereType() - .firstWhere((c) => c.id == 'keymap') - .category; + final category = KeybindingsUiExtension().contributions.whereType().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); diff --git a/test/builtin/settings_ui/category_view_test.dart b/test/builtin/settings_ui/category_view_test.dart index d9d7402f..d7f5658b 100644 --- a/test/builtin/settings_ui/category_view_test.dart +++ b/test/builtin/settings_ui/category_view_test.dart @@ -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'), + ], ), ], ),