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

Side by Side Diff: tests/standalone/io/delete_symlink_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) 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 import "package:expect/expect.dart";
6 import 'dart:io'; 5 import 'dart:io';
7 import 'dart:isolate'; 6 import 'dart:isolate';
8 7
9 void main() { 8 void main() {
10 // temp/ 9 // temp/
11 // a/ 10 // a/
12 // file.txt 11 // file.txt
13 // b/ 12 // b/
14 // a_link -> a 13 // a_link -> a
15 var d = new Directory("").createTempSync(); 14 var d = new Directory("").createTempSync();
(...skipping 26 matching lines...) Expand all
42 // We should not have recursed through a_link into a. 41 // We should not have recursed through a_link into a.
43 Expect.isTrue(f.existsSync()); 42 Expect.isTrue(f.existsSync());
44 43
45 // Clean up after ourselves. 44 // Clean up after ourselves.
46 d.deleteSync(recursive: true); 45 d.deleteSync(recursive: true);
47 46
48 // Terminate now that we are done with everything. 47 // Terminate now that we are done with everything.
49 keepAlive.close(); 48 keepAlive.close();
50 }); 49 });
51 } 50 }
OLDNEW
« no previous file with comments | « tests/standalone/io/dart_std_io_pipe_test.dart ('k') | tests/standalone/io/directory_create_race_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698