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

Unified Diff: tests/lib/mirrors/method_mirror_source_test.dart

Issue 22824048: Fix method_mirror_source test for analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/method_mirror_source_test.dart
diff --git a/tests/lib/mirrors/method_mirror_source_test.dart b/tests/lib/mirrors/method_mirror_source_test.dart
index 2453d953d08d583f9db44044ac4f0c203919a726..fcbc7c63740404c81c6d77f37e3ae9ad1d58583b 100644
--- a/tests/lib/mirrors/method_mirror_source_test.dart
+++ b/tests/lib/mirrors/method_mirror_source_test.dart
@@ -15,6 +15,7 @@ expectSource(Mirror mirror, String source) {
}
foo1() {}
+doSomething(e) => e;
int get x => 42;
set x(value) { }
@@ -26,7 +27,7 @@ class C extends S {
var _x;
var _y;
- C(this.x, y)
+ C(this._x, y)
: _y = y,
super();
@@ -77,7 +78,7 @@ main() {
" // Discard this one.\n"
" }");
expectSource(cm.constructors[const Symbol("C")],
- "C(this.x, y)\n"
+ "C(this._x, y)\n"
" : _y = y,\n"
" super();");
expectSource(cm.constructors[const Symbol("C.other")],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698