Files
sdk/pkg/linter/test/verify_checks_test.dart
pq 36c57a4101 [CQ] [linter] anticipate strict_top_level_inference
Make `main` function returns explicit in anticipation of `strict_top_level_inference`.


Change-Id: I9fe087478b748594e49a586b033412263fda7920
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412383
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Phil Quitslund <pquitslund@google.com>
2025-02-26 16:49:22 -08:00

18 lines
566 B
Dart

// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:test/test.dart';
import '../tool/checks/driver.dart';
void main() {
group('custom checks', () {
var checkNames = customChecks.map((c) => c.name).join(', ');
test(checkNames, () async {
var failedChecks = await runChecks();
expect(failedChecks, isEmpty);
});
}, timeout: Timeout(Duration(minutes: 2)));
}