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

Unified Diff: tests/language/string_interpolation_test.dart

Issue 10603003: Fix stuff (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « tests/co19/co19-runtime.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/string_interpolation_test.dart
===================================================================
--- tests/language/string_interpolation_test.dart (revision 8912)
+++ tests/language/string_interpolation_test.dart (working copy)
@@ -7,6 +7,8 @@
StringInterpolationTest() {}
+ static void m() {}
+
static final int i = 1;
static final String a = "<hi>";
@@ -57,6 +59,8 @@
if (alwaysFalse) {
"${i.toHorse()}"; /// 01: static type warning
}
+
+ Expect.equals("${m}", "$m");
}
String embedParams(int z) {
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698