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

Side by Side Diff: tests/language/string_interpolation_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "package:expect/expect.dart";
6
7 // Tests for string interpolation 5 // Tests for string interpolation
8 class StringInterpolationTest { 6 class StringInterpolationTest {
9 7
10 StringInterpolationTest() {} 8 StringInterpolationTest() {}
11 9
12 static void m() {} 10 static void m() {}
13 11
14 static const int i = 1; 12 static const int i = 1;
15 static const String a = "<hi>"; 13 static const String a = "<hi>";
16 14
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 72 }
75 73
76 String embedMultipleFields() { 74 String embedMultipleFields() {
77 return "j = ${j}; k = ${k}"; 75 return "j = ${j}; k = ${k}";
78 } 76 }
79 } 77 }
80 78
81 main() { 79 main() {
82 StringInterpolationTest.testMain(false); 80 StringInterpolationTest.testMain(false);
83 } 81 }
OLDNEW
« no previous file with comments | « tests/language/string_interpolation8_test.dart ('k') | tests/language/string_intrinsics_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698