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

Unified Diff: pkg/analysis_server/test/analysis/notification_analysis_options_test.dart

Issue 1517723002: Server custom error severity support (#24452). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: lib_renames Created 5 years 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
Index: pkg/analysis_server/test/analysis/notification_analysis_options_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart b/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart
index 2eed1579a206047f0463be0ef68604b7d99281ab..a24b8117ce670116c6c35cbcc653bb59022d636c 100644
--- a/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart
@@ -102,10 +102,10 @@ main() {
await waitForTasksFinished();
// Verify options file.
- expect(optionsFileErrors, hasLength(0));
+ expect(optionsFileErrors, isEmpty);
// Verify test file.
- expect(testFileErrors, hasLength(0));
+ expect(testFileErrors, isEmpty);
}
test_error_filter_removed() async {
@@ -126,10 +126,10 @@ main() {
await waitForTasksFinished();
// Verify options file.
- expect(optionsFileErrors, hasLength(0));
+ expect(optionsFileErrors, isEmpty);
// Verify test file.
- expect(testFileErrors, hasLength(0));
+ expect(testFileErrors, isEmpty);
addOptionsFile('''
analyzer:
@@ -141,7 +141,7 @@ analyzer:
await waitForTasksFinished();
// Verify options file.
- expect(optionsFileErrors, hasLength(0));
+ expect(optionsFileErrors, isEmpty);
// Verify test file.
expect(testFileErrors, hasLength(1));
« no previous file with comments | « pkg/analysis_server/lib/src/status/get_handler.dart ('k') | pkg/analysis_server/test/context_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698