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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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
5 7
6 class Conster { 8 class Conster {
7 const Conster(this.value); 9 const Conster(this.value);
8 10
9 final value; 11 final value;
10 12
11 toString() { 13 toString() {
12 return value.toString(); 14 return value.toString();
13 } 15 }
14 } 16 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 a""" "b" "e")).toString()); 89 a""" "b" "e")).toString());
88 Expect.equals("a b e", (const Conster(""" 90 Expect.equals("a b e", (const Conster("""
89 a""" " b" " e")).toString()); 91 a""" " b" " e")).toString());
90 92
91 Expect.equals("abe", (const Conster(""" 93 Expect.equals("abe", (const Conster("""
92 a""" """ 94 a""" """
93 b""" """ 95 b""" """
94 e""")).toString()); 96 e""")).toString());
95 } 97 }
96 98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698