Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: pkg/analyzer/test/source/config_test.dart

Issue 2511963002: remove support for analyzer configuration in pubspec (Closed)
Patch Set: merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/source/config.dart ('k') | pkg/analyzer/test/source/test_all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/source/config_test.dart
diff --git a/pkg/analyzer/test/source/config_test.dart b/pkg/analyzer/test/source/config_test.dart
deleted file mode 100644
index 6ce08cd981487a3e0ef9b2504d705988404592b6..0000000000000000000000000000000000000000
--- a/pkg/analyzer/test/source/config_test.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2016, 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:analyzer/source/config.dart';
-import 'package:test/test.dart';
-import 'package:yaml/yaml.dart';
-
-main() {
- group('Analysis Config', () {
- test('parseConfigSource', () {
- String source = r'''
-analyzer:
- configuration: google/strict
-''';
- YamlMap options = loadYamlNode(source);
- AnalysisConfigurationDescriptor descriptor =
- new AnalysisConfigurationDescriptor.fromAnalyzerOptions(
- options['analyzer']);
- expect(descriptor.package, 'google');
- expect(descriptor.pragma, 'strict');
- });
- });
-}
« no previous file with comments | « pkg/analyzer/lib/source/config.dart ('k') | pkg/analyzer/test/source/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698