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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_test.dart

Issue 2003733003: Resynthesize most of the ImportElementImpl lazily. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/lib/src/summary/resynthesize.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/summary/resynthesize_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
index 4990c5b906fd9bd2c2ff9e84c8b9191e44838ec6..ad450a45d39bddc88fc03d96606944c9e7e25bcd 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -1082,9 +1082,10 @@ abstract class AbstractResynthesizeTest extends AbstractSingleUnitTest {
void compareUriReferencedElements(UriReferencedElementImpl resynthesized,
UriReferencedElementImpl original, String desc) {
compareElements(resynthesized, original, desc);
- expect(resynthesized.uri, original.uri);
- expect(resynthesized.uriOffset, original.uriOffset, reason: desc);
- expect(resynthesized.uriEnd, original.uriEnd, reason: desc);
+ expect(resynthesized.uri, original.uri, reason: '$desc uri');
+ expect(resynthesized.uriOffset, original.uriOffset,
+ reason: '$desc uri uriOffset');
+ expect(resynthesized.uriEnd, original.uriEnd, reason: '$desc uriEnd');
}
void compareVariableElements(
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698