Fix regression after new linter rules

This commit is contained in:
Andriy Kushnir 2025-12-01 09:20:15 +02:00
parent 1ea649f01e
commit 9889aae2fe
No known key found for this signature in database

View file

@ -8,8 +8,7 @@ import 'utils/test_client.dart';
void main() async {
test('Check for missing /command hints', () async {
final translated =
jsonDecode(File('lib/l10n/intl_en.arb').readAsStringSync())
.keys
jsonDecode(File('lib/l10n/intl_en.arb').readAsStringSync()).keys
.where((String k) => k.startsWith('commandHint_'))
.map((k) => k.replaceFirst('commandHint_', ''));
final commands = (await prepareTestClient()).commands.keys;