blob: b1b817586e54e63f8830d0b065281905708ef303 [file] [log] [blame]
// Copyright (c) 2018, 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.
@TestOn('vm')
library dart_style.test.fix_test;
import 'package:dart_style/dart_style.dart';
import 'package:test/test.dart';
import 'utils.dart';
void main() async {
await testFile(
'fixes/named_default_separator.unit', [StyleFix.namedDefaultSeparator]);
await testFile('fixes/doc_comments.stmt', [StyleFix.docComments]);
await testFile('fixes/function_typedefs.unit', [StyleFix.functionTypedefs]);
await testFile('fixes/optional_const.unit', [StyleFix.optionalConst]);
await testFile('fixes/optional_new.stmt', [StyleFix.optionalNew]);
await testFile('fixes/single_cascade_statements.stmt',
[StyleFix.singleCascadeStatements]);
}