Index: pkg/analysis_server/test/integration/analysis/lint_test.dart |
diff --git a/pkg/analysis_server/test/integration/analysis/lint_test.dart b/pkg/analysis_server/test/integration/analysis/lint_test.dart |
index 97a97729dbd81638cd3b24511b3998010c8cbc0e..699b43bad43609e51866dbf9cc9d3602ead95175 100644 |
--- a/pkg/analysis_server/test/integration/analysis/lint_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/lint_test.dart |
@@ -19,9 +19,7 @@ main() { |
class LintIntegrationTest extends AbstractAnalysisServerIntegrationTest { |
test_no_lints_when_not_specified() async { |
String source = sourcePath('test.dart'); |
- writeFile( |
- source, |
- ''' |
+ writeFile(source, ''' |
class abc { // lint: not CamelCase (should get ignored though) |
}'''); |
standardAnalysisSetup(); |
@@ -34,18 +32,14 @@ class abc { // lint: not CamelCase (should get ignored though) |
} |
test_simple_lint_newOptionsFile() async { |
- writeFile( |
- sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE), |
- ''' |
+ writeFile(sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_YAML_FILE), ''' |
linter: |
rules: |
- camel_case_types |
'''); |
String source = sourcePath('test.dart'); |
- writeFile( |
- source, |
- ''' |
+ writeFile(source, ''' |
class a { // lint: not CamelCase |
}'''); |
@@ -63,18 +57,14 @@ class a { // lint: not CamelCase |
} |
test_simple_lint_oldOptionsFile() async { |
- writeFile( |
- sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_FILE), |
- ''' |
+ writeFile(sourcePath(AnalysisEngine.ANALYSIS_OPTIONS_FILE), ''' |
linter: |
rules: |
- camel_case_types |
'''); |
String source = sourcePath('test.dart'); |
- writeFile( |
- source, |
- ''' |
+ writeFile(source, ''' |
class a { // lint: not CamelCase |
}'''); |