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

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

Issue 631553002: Change integration test notifications to use structured objects. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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/analysis/get_errors.dart
diff --git a/pkg/analysis_server/test/integration/analysis/get_errors.dart b/pkg/analysis_server/test/integration/analysis/get_errors.dart
index 5508afe3ec96b76df91d434964a2df4011c0c287..591e8953c2f74fb1f801945d9d2453c7e81ea97d 100644
--- a/pkg/analysis_server/test/integration/analysis/get_errors.dart
+++ b/pkg/analysis_server/test/integration/analysis/get_errors.dart
@@ -33,9 +33,7 @@ main() {
standardAnalysisSetup();
Future finishTest() {
return sendAnalysisGetErrors(pathname).then((result) {
- expect(
- result.errors.map((error) => error.toJson()),
- equals(currentAnalysisErrors[pathname]));
+ expect(result.errors, equals(currentAnalysisErrors[pathname]));
});
}
if (afterAnalysis) {

Powered by Google App Engine
This is Rietveld 408576698