Chromium Code Reviews

Unified Diff: pkg/scheduled_test/test/descriptor/async_test.dart

Issue 16351003: Move pub over to using the pub.dartlang.org API v2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: pkg/scheduled_test/test/descriptor/async_test.dart
diff --git a/pkg/scheduled_test/test/descriptor/async_test.dart b/pkg/scheduled_test/test/descriptor/async_test.dart
index 1726345cdae091efca0ffdf1b6663f30087d01cf..961f528a66b169263dcbdbd53e3688024dcc4121 100644
--- a/pkg/scheduled_test/test/descriptor/async_test.dart
+++ b/pkg/scheduled_test/test/descriptor/async_test.dart
@@ -121,23 +121,4 @@ void main() {
matches(r"^Directory not found: '[^']+[\\/]dir'\.$"));
});
}, passing: ['test 2']);
-
- expectTestsPass("async().load() fails", () {
- test('test', () {
- scheduleSandbox();
-
- expect(d.async(new Future.value(d.file('name.txt')))
- .load('path').toList(),
- throwsA(equals("AsyncDescriptors don't support load().")));
- });
- });
-
- expectTestsPass("async().read() fails", () {
- test('test', () {
- scheduleSandbox();
-
- expect(d.async(new Future.value(d.file('name.txt'))).read().toList(),
- throwsA(equals("AsyncDescriptors don't support read().")));
- });
- });
}
« no previous file with comments | « pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart ('k') | pkg/scheduled_test/test/descriptor/directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine