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

Unified Diff: pkg/scheduled_test/test/descriptor/file_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
Index: pkg/scheduled_test/test/descriptor/file_test.dart
diff --git a/pkg/scheduled_test/test/descriptor/file_test.dart b/pkg/scheduled_test/test/descriptor/file_test.dart
index 958f4316115703d3dd28f5fa45dc1514c323ec9d..03573b7194c14319be134c4521e48133e8b37550 100644
--- a/pkg/scheduled_test/test/descriptor/file_test.dart
+++ b/pkg/scheduled_test/test/descriptor/file_test.dart
@@ -114,14 +114,6 @@ void main() {
});
});
- expectTestsPass("file().load() throws an error", () {
- test('test', () {
- expect(d.file('name.txt', 'contents').load('path').toList(),
- throwsA(equals("Can't load 'path' from within 'name.txt': not a "
- "directory.")));
- });
- });
-
expectTestsPass("file().describe() returns the filename", () {
test('test', () {
expect(d.file('name.txt', 'contents').describe(), equals('name.txt'));
« no previous file with comments | « pkg/scheduled_test/test/descriptor/directory_test.dart ('k') | pkg/scheduled_test/test/descriptor/nothing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698