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

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

Issue 15682008: Allow DirectoryDescriptor.load to load a file next to a directory. (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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/scheduled_test/test/descriptor/file_test.dart ('k') | sdk/lib/_internal/pub/test/descriptor/tar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/descriptor/nothing_test.dart
diff --git a/pkg/scheduled_test/test/descriptor/nothing_test.dart b/pkg/scheduled_test/test/descriptor/nothing_test.dart
index 902fc4e8a4a1dfdc790086fa2af0e7731ff50188..0e623341cf489d8aeb14061096e2e97f18212fea 100644
--- a/pkg/scheduled_test/test/descriptor/nothing_test.dart
+++ b/pkg/scheduled_test/test/descriptor/nothing_test.dart
@@ -84,22 +84,4 @@ void main() {
r"directory\.$"));
});
}, passing: ['test 2']);
-
- expectTestsPass("nothing().load() fails", () {
- test('test', () {
- scheduleSandbox();
-
- expect(d.nothing('name.txt').load('path').toList(),
- throwsA(equals("Nothing descriptors don't support load().")));
- });
- });
-
- expectTestsPass("nothing().read() fails", () {
- test('test', () {
- scheduleSandbox();
-
- expect(d.nothing('name.txt').read().toList(),
- throwsA(equals("Nothing descriptors don't support read().")));
- });
- });
}
« no previous file with comments | « pkg/scheduled_test/test/descriptor/file_test.dart ('k') | sdk/lib/_internal/pub/test/descriptor/tar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698