Chromium Code Reviews| Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart |
| diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart |
| index 25e2dbc5720bc85ca7e849fc361324d3fba14f63..a05d1a47b0bea762dad7af50451f46111e0aa984 100644 |
| --- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart |
| +++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart |
| @@ -307,7 +307,7 @@ class FunctionTest { |
| (function(a = 10) { assert(a == 10); })(); |
| (function(a, b = 10) { assert(b == 10); })(1); |
| (function(a = 10) { assert(a == null); })( f() ); |
| - // FAILS: (function(a = 10) { assert(a === null); })( f() ); |
|
Lasse Reichstein Nielsen
2012/11/12 13:10:41
Commented code, just remove it.
What is this synta
floitsch
2012/11/12 22:18:43
Done.
|
| + // FAILS: (function(a = 10) { assert(a == null); })( f() ); |
| } |
| void testFunctionDefaults2() { |