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

Unified Diff: pkg/analyzer/test/src/task/yaml_test.dart

Issue 1645643002: Replace isAppropriateFor with suitabilityFor and start using it (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months 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/test/src/task/model_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/yaml_test.dart
diff --git a/pkg/analyzer/test/src/task/yaml_test.dart b/pkg/analyzer/test/src/task/yaml_test.dart
index 2678a9cc1adada40f19b1de7d88c6b77466b868d..5deb5f5e2ea7140765ab20ba74d8584237a0a8c4 100644
--- a/pkg/analyzer/test/src/task/yaml_test.dart
+++ b/pkg/analyzer/test/src/task/yaml_test.dart
@@ -6,6 +6,7 @@ library analyzer.test.src.task.yaml_test;
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/task/yaml.dart';
+import 'package:analyzer/task/general.dart';
import 'package:analyzer/task/yaml.dart';
import 'package:unittest/unittest.dart';
import 'package:yaml/yaml.dart';
@@ -38,7 +39,7 @@ rules:
expect(value, new isInstanceOf<Map>());
expect(value['rules']['style_guide']['camel_case_types'], isFalse);
expect(outputs[YAML_ERRORS], hasLength(0));
- LineInfo lineInfo = outputs[YAML_LINE_INFO];
+ LineInfo lineInfo = outputs[LINE_INFO];
expect(lineInfo, isNotNull);
expect(lineInfo.getOffsetOfLine(0), 0);
expect(lineInfo.getOffsetOfLine(1), 7);
@@ -53,7 +54,7 @@ rules:
expect(document, isNotNull);
expect(document.contents.value, isNull);
expect(outputs[YAML_ERRORS], hasLength(1));
- LineInfo lineInfo = outputs[YAML_LINE_INFO];
+ LineInfo lineInfo = outputs[LINE_INFO];
expect(lineInfo, isNotNull);
expect(lineInfo.getOffsetOfLine(0), 0);
}
« no previous file with comments | « pkg/analyzer/test/src/task/model_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698