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

Unified Diff: tests/language/named_parameters_passing_falsy_test.dart

Issue 10837359: Language tests updated to use const instead of final. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 4 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 | « tests/language/named_argument_in_const_creation_test.dart ('k') | tests/language/naming_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/named_parameters_passing_falsy_test.dart
diff --git a/tests/language/named_parameters_passing_falsy_test.dart b/tests/language/named_parameters_passing_falsy_test.dart
index e3d8fbd468fb24f728109e14ddaba192a57732a2..c4419b69155d3fe7d3dbcf7c19d818218d224383 100644
--- a/tests/language/named_parameters_passing_falsy_test.dart
+++ b/tests/language/named_parameters_passing_falsy_test.dart
@@ -16,7 +16,7 @@ class TestClass {
globalMethod([value = 300]) => value;
-final testValues = const [0, 0.0, '', false, null];
+const testValues = const [0, 0.0, '', false, null];
testFunction(f) {
Expect.isTrue(f() >= 100);
« no previous file with comments | « tests/language/named_argument_in_const_creation_test.dart ('k') | tests/language/naming_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698