Merge pull request #2400 from Orhideous/lints

Fix regression after new linter rules
This commit is contained in:
Krille-chan 2025-12-03 08:19:08 +01:00 committed by GitHub
commit b3d7aebf11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;