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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/FunctionTest.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 80chars. Created 8 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
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() {

Powered by Google App Engine
This is Rietveld 408576698