409bb144cb
We're getting closer to no longer needing this file, but dart.dev still relies on it for now. Change-Id: Iae5381515778021237413bb1b5fca3ac350b47f4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384823 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Auto-Submit: Parker Lougheed <parlough@gmail.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
22 lines
782 B
Dart
22 lines
782 B
Dart
// Copyright (c) 2022, 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/machine.dart';
|
|
import 'util/test_utils.dart';
|
|
|
|
void main() {
|
|
group('doc generation', () {
|
|
setUp(setUpSharedTestEnvironment);
|
|
test('fixStatus (sanity)', () {
|
|
var fixStatusMap = readFixStatusMap();
|
|
// Doc generation reads the fix status map to associate fix status
|
|
// badges with rule documentation. Here we check one for sanity.
|
|
// If the file moves or format changes, we'd expect this to fail.
|
|
expect(fixStatusMap['LintCode.prefer_single_quotes'], 'hasFix');
|
|
});
|
|
});
|
|
}
|