Fix regression after new linter rules
This commit is contained in:
parent
1ea649f01e
commit
9889aae2fe
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue