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

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

Issue 1615073007: Add a test of summaries that uses strong mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix test failures Created 4 years, 11 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/analyzer/test/src/summary/summary_common.dart
diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
index 419ee31374db32df20d6d45e8804390e831cbbb3..a5756e7f7c548527773cc8926cd3c24a052ad68a 100644
--- a/pkg/analyzer/test/src/summary/summary_common.dart
+++ b/pkg/analyzer/test/src/summary/summary_common.dart
@@ -2561,9 +2561,8 @@ enum E { v }''';
}
test_executable_operator_equal() {
- UnlinkedExecutable executable =
- serializeClassText('class C { bool operator==(C other) => false; }')
- .executables[0];
+ UnlinkedExecutable executable = serializeClassText(
+ 'class C { bool operator==(Object other) => false; }').executables[0];
expect(executable.name, '==');
}
« no previous file with comments | « pkg/analyzer/test/src/summary/summarize_elements_test.dart ('k') | pkg/analyzer/test/src/summary/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698