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

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

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Renamed CompileTimeConstTest to CTConst2Test Created 9 years, 2 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
Index: tests/language/src/StringInterpolate2Test.dart
diff --git a/tests/language/src/StringInterpolate2Test.dart b/tests/language/src/StringInterpolate2Test.dart
index 3d7f06e5142ab308980e949c13ff64b3ff9fa414..b377f8c111d7c3a98f91c1d95eaa2cf48405d27d 100644
--- a/tests/language/src/StringInterpolate2Test.dart
+++ b/tests/language/src/StringInterpolate2Test.dart
@@ -6,10 +6,10 @@
class StringInterpolate2Test {
- static final F1 = "1 + 5 = ${1+5}";
-
static void testMain() {
+ var F1 = "1 + 5 = ${1+5}";
+
Expect.equals("1 + 5 = 6", F1);
var fib = [1, 1, 2, 3, 5, 8, 13, 21];

Powered by Google App Engine
This is Rietveld 408576698