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 { |