| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 806ce3ee34d0a5a6cb5f46083b7e467d105ef267..aa8e8797bdfb22776be4e989e8ee260b518b0744 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -222,6 +222,15 @@ void servePackages(List<Map> pubspecs) {
|
| /** Converts [value] into a YAML string. */
|
| String yaml(value) => JSON.stringify(value);
|
|
|
| +/// Describes a package that passes all validation.
|
| +Descriptor get normalPackage => dir(appPath, [
|
| + libPubspec("test_pkg", "1.0.0"),
|
| + file("LICENSE", "Eh, do what you want."),
|
| + dir("lib", [
|
| + file("test_pkg.dart", "int i = 1;")
|
| + ])
|
| +]);
|
| +
|
| /**
|
| * Describes a file named `pubspec.yaml` with the given YAML-serialized
|
| * [contents], which should be a serializable object.
|
|
|