Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index 8947932b778fea591b7e795482850c321ac049af..fd7cbf47adef8af2bd9018455a0283727b1e88e2 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -687,7 +687,7 @@ void main() { |
// Grab hold of a supertype for String so we can produce potential |
// string types. |
- patternClass = compiler.coreLibrary.find(buildSourceString('Pattern')); |
+ patternClass = compiler.coreLibrary.find('Pattern'); |
nonPrimitive1 = new HType.nonNullSubtype( |
compiler.mapClass, compiler); |