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

Unified Diff: tests/language/src/LocalFunction3Test.dart

Issue 10188004: Provide better ToCString description for closures (issue 2680). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « runtime/vm/object.cc ('k') | tests/language/src/LocalFunctionTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/LocalFunction3Test.dart
===================================================================
--- tests/language/src/LocalFunction3Test.dart (revision 6857)
+++ tests/language/src/LocalFunction3Test.dart (working copy)
@@ -22,7 +22,8 @@
exception_caught = true;
}
Expect.equals(false, exception_caught);
- Expect.equals("Closure", f_string);
+ Expect.equals("", f_string);
+ Expect.equals(true, f_string.startsWith("Closure"));
}
static testMain() {
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/language/src/LocalFunctionTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698