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

Unified Diff: tests/language/list_literal3_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/list_literal2_test.dart ('k') | tests/language/list_literal_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/list_literal3_test.dart
diff --git a/tests/language/list_literal3_test.dart b/tests/language/list_literal3_test.dart
index ebc58d242b4e8313779f0408e4292d6575fc7a20..4a11b1da90f740d2d55c890d60c879b0fb63f44a 100644
--- a/tests/language/list_literal3_test.dart
+++ b/tests/language/list_literal3_test.dart
@@ -1,11 +1,11 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Check that arrays from final array literals are immutable.
+// Check that arrays from const array literals are immutable.
class ListLiteral3Test {
- static final List<String> canonicalJoke = const ["knock", "knock"];
+ static const List<String> canonicalJoke = const ["knock", "knock"];
static testMain() {
« no previous file with comments | « tests/language/list_literal2_test.dart ('k') | tests/language/list_literal_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698