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

Unified Diff: tests/compiler/dart2js/type_variable_occurrence_test.dart

Issue 263103003: Remove warnings from dart2js test-suite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: tests/compiler/dart2js/type_variable_occurrence_test.dart
diff --git a/tests/compiler/dart2js/type_variable_occurrence_test.dart b/tests/compiler/dart2js/type_variable_occurrence_test.dart
index 1d51adf4fd0a914d50654dea9644058abcc388ab..5c71028ff6c2942d00cb006a272e8a3d94822c7c 100644
--- a/tests/compiler/dart2js/type_variable_occurrence_test.dart
+++ b/tests/compiler/dart2js/type_variable_occurrence_test.dart
@@ -57,10 +57,10 @@ testTypeVariableOccurrence() {
ClassElement A = env.getElement('A');
- expect(bool expect, String memberName) {
+ expect(bool expectResult, String memberName) {
DartType memberType = env.getMemberType(A, memberName);
TypeVariableType typeVariable = memberType.typeVariableOccurrence;
- if (expect) {
+ if (expectResult) {
Expect.isNotNull(typeVariable);
Expect.equals(A, Types.getClassContext(memberType));
} else {

Powered by Google App Engine
This is Rietveld 408576698