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 {
|
void main() async {
|
||||||
test('Check for missing /command hints', () async {
|
test('Check for missing /command hints', () async {
|
||||||
final translated =
|
final translated =
|
||||||
jsonDecode(File('lib/l10n/intl_en.arb').readAsStringSync())
|
jsonDecode(File('lib/l10n/intl_en.arb').readAsStringSync()).keys
|
||||||
.keys
|
|
||||||
.where((String k) => k.startsWith('commandHint_'))
|
.where((String k) => k.startsWith('commandHint_'))
|
||||||
.map((k) => k.replaceFirst('commandHint_', ''));
|
.map((k) => k.replaceFirst('commandHint_', ''));
|
||||||
final commands = (await prepareTestClient()).commands.keys;
|
final commands = (await prepareTestClient()).commands.keys;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue