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

Unified Diff: pkg/analysis_server/test/integration/analysis/update_content_list_test.dart

Issue 790363006: Upgrade unittest to be able to use isNotEmpty. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/integration/analysis/update_content_list_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
index 7a979c2ce8a9cf2a945345f4efc5efb2e47665ce..d91a5b09e03e6c14429a58b90623dad2251dc86b 100644
--- a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
@@ -33,7 +33,7 @@ main() {
});
return analysisFinished.then((_) {
// The overridden contents (badText) are missing quotation marks.
- expect(currentAnalysisErrors[pathname], isNot(isEmpty));
+ expect(currentAnalysisErrors[pathname], isNotEmpty);
}).then((_) {
// Prepare a set of edits which add the missing quotation marks, in the
// order in which they appear in the file. If these edits are applied in

Powered by Google App Engine
This is Rietveld 408576698