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

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

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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/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));

Powered by Google App Engine
This is Rietveld 408576698