Index: tests/language/src/LocalFunctionTest.dart |
=================================================================== |
--- tests/language/src/LocalFunctionTest.dart (revision 6857) |
+++ tests/language/src/LocalFunctionTest.dart (working copy) |
@@ -138,7 +138,7 @@ |
Expect.equals(2, f(1)); |
Expect.equals(true, f is Function); |
Expect.equals(true, f is Object); |
- Expect.equals("Closure", f.toString()); |
+ Expect.equals(true, f.toString().startsWith("Closure")); |
bool exception_caught = false; |
try { |
f(1, 2); |