Index: tests/compiler/dart2js/simple_inferrer_callers_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_callers_test.dart b/tests/compiler/dart2js/simple_inferrer_callers_test.dart |
index 6b1381b00c5ab7f4f82ad1d2b40a8d8b3580f362..3b0a968485736bd70153d59f2caa12255c0d40d7 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_callers_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_callers_test.dart |
@@ -43,9 +43,9 @@ void main() { |
asyncTest(() => compiler.runCompiler(uri).then((_) { |
var mainElement = findElement(compiler, 'main'); |
var classA = findElement(compiler, 'A'); |
- var fieldA = classA.lookupLocalMember(buildSourceString('field')); |
+ var fieldA = classA.lookupLocalMember('field'); |
var classB = findElement(compiler, 'B'); |
- var fieldB = classB.lookupLocalMember(buildSourceString('field'));; |
+ var fieldB = classB.lookupLocalMember('field');; |
kasperl
2013/10/18 06:44:57
;; -> ;
lukas
2013/10/18 08:39:46
Done.
|
Expect.isTrue(inferrer.getCallersOf(fieldA).contains(mainElement)); |
Expect.isTrue(inferrer.getCallersOf(fieldB).contains(mainElement)); |