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

Unified Diff: pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart

Issue 13704003: Reapply "Add a sleep function to dart:io" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added "hide sleep" where needed 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 side-by-side diff with in-line comments
Download patch
Index: pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart b/pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart
index 715ac52d52fdaea2fb314c1180675e136636f14c..4766b431f2d66a525c656ec5a45551172dfa3d12 100644
--- a/pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart
+++ b/pkg/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import 'dart:async';
-import 'dart:io';
+import 'dart:io' hide sleep;
import 'package:scheduled_test/scheduled_test.dart';
import 'package:scheduled_test/src/mock_clock.dart' as mock_clock;
@@ -236,4 +236,4 @@ void main() {
expect(errors.map((e) => e.error), equals(['in-band', 'out-of-band']));
});
}, passing: ['test 2']);
-}
+}
« no previous file with comments | « no previous file | pkg/scheduled_test/test/scheduled_test/nested_task_test.dart » ('j') | tests/standalone/io/sleep_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698