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

Unified Diff: tests/language/final_syntax_test.dart

Issue 10383238: Fix tests in language suite: eliminate String + (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/const_string_test.dart ('k') | tests/language/pseudo_kw_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/final_syntax_test.dart
===================================================================
--- tests/language/final_syntax_test.dart (revision 7724)
+++ tests/language/final_syntax_test.dart (working copy)
@@ -26,7 +26,7 @@
Expect.isTrue(C0.X is C1);
Expect.isTrue(C0.X.x is C1); /// 09: compile-time error
- Expect.equals("Hello42", B2);
+ Expect.equals("Hello 42", B2);
Expect.equals("42Hello", B3); /// 10: compile-time error
}
@@ -69,5 +69,5 @@
// Check that sub-expressions of binary + are numeric.
final B0 = 42;
final B1 = "Hello";
-final B2 = B1 + B0;
+final B2 = "$B1 $B0";
final B3 = B0 + B1; /// 10: continued
« no previous file with comments | « tests/language/const_string_test.dart ('k') | tests/language/pseudo_kw_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698