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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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
« no previous file with comments | « tests/language/recursive_loop_phis_test.dart ('k') | tests/language/reg_exp2_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Tests that exports are handled for libraries loaded prior to the entry point 5 // Tests that exports are handled for libraries loaded prior to the entry point
6 // library. 6 // library.
7 // 7 //
8 // This test uses the fact that dart2js loads dart:core before the 8 // This test uses the fact that dart2js loads dart:core before the
9 // reexport_core_helper and reexport_core_test libraries and the exports of 9 // reexport_core_helper and reexport_core_test libraries and the exports of
10 // dart:core is therefore computed before the exports of reexport_core_helper. 10 // dart:core is therefore computed before the exports of reexport_core_helper.
11 11
12 library reexport_core_test; 12 library reexport_core_test;
13 13
14 import "package:expect/expect.dart";
14 import 'reexport_core_helper.dart' as core; 15 import 'reexport_core_helper.dart' as core;
15 16
16 void main() { 17 void main() {
17 var o = new Object(); 18 var o = new Object();
18 Expect.isTrue(o is core.Object); 19 Expect.isTrue(o is core.Object);
19 } 20 }
20 21
OLDNEW
« no previous file with comments | « tests/language/recursive_loop_phis_test.dart ('k') | tests/language/reg_exp2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698