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

Unified Diff: pkg/analysis_server/test/integration/coverage_test.dart

Issue 2703723002: Add an integration test for execution.setSubscriptions. (Closed)
Patch Set: revert expectAsync => expectAsync0 change Created 3 years, 10 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
Index: pkg/analysis_server/test/integration/coverage_test.dart
diff --git a/pkg/analysis_server/test/integration/coverage_test.dart b/pkg/analysis_server/test/integration/coverage_test.dart
index 48acfba7cd50ba699cdef406949b5392c997e92c..d5a858831526e3bd1d25070574c62b5b0d304b33 100644
--- a/pkg/analysis_server/test/integration/coverage_test.dart
+++ b/pkg/analysis_server/test/integration/coverage_test.dart
@@ -41,6 +41,12 @@ main() {
line.substring('##'.length, line.length - 'domain'.length).trim())
.toSet();
+ // Remove any ' (test failed)' suffixes.
+ lines = lines.map((String line) {
+ int index = line.indexOf('(');
+ return index != -1 ? line.substring(0, index).trim() : line;
+ }).toList();
+
// - [ ] server.getVersion
Set<String> allMembers = lines
.where((line) => line.startsWith('- '))

Powered by Google App Engine
This is Rietveld 408576698