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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 12433014: Dev dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: List all colliding package names. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/tests/pub/pubspec_test.dart ('k') | utils/tests/pub/version_solver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 5d5499fd5a49d90c727876ee4441c8b6cf78866b..6e11c63c3293562dbfeb52553c7b9c60dfe26f3d 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -1173,7 +1173,8 @@ class TarFileDescriptor extends Descriptor {
}
}
-/// A descriptor that validates that no file exists with the given name.
+/// A descriptor that validates that no file or directory exists with the given
+/// name.
class NothingDescriptor extends Descriptor {
NothingDescriptor(String name) : super(name);
@@ -1183,7 +1184,7 @@ class NothingDescriptor extends Descriptor {
Future validate(String dir) {
return defer(() {
if (entryExists(path.join(dir, name))) {
- throw new TestFailure('File $name in $dir should not exist.');
+ throw new TestFailure('Entry $name in $dir should not exist.');
}
});
}
« no previous file with comments | « utils/tests/pub/pubspec_test.dart ('k') | utils/tests/pub/version_solver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698