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

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

Issue 8534001: Adds typechecking of return values (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 9 years, 1 month 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
« tests/corelib/src/SortHelper.dart ('K') | « tests/corelib/src/SortHelper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/ContextArgsWithDefaultsTest.dart
diff --git a/tests/language/src/ContextArgsWithDefaultsTest.dart b/tests/language/src/ContextArgsWithDefaultsTest.dart
index 08c36ac54b47a380ef383afe0e7cc2186b9f691d..272efc9a945110ea98b9b02da94b0810c998ebf6 100644
--- a/tests/language/src/ContextArgsWithDefaultsTest.dart
+++ b/tests/language/src/ContextArgsWithDefaultsTest.dart
@@ -7,7 +7,7 @@ class ContextArgsWithDefaultsTest {
crasher(1, 'foo')();
}
- static void crasher(int fixed, [String optional = '']) {
+ static crasher(int fixed, [String optional = '']) {
jimhug 2011/11/11 15:02:02 Oh my, that was an ugly test bug!
return () {
Expect.equals(1, fixed);
Expect.equals('foo', optional);
« tests/corelib/src/SortHelper.dart ('K') | « tests/corelib/src/SortHelper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698