| Index: utils/tests/pub/validator_test.dart
|
| diff --git a/utils/tests/pub/validator_test.dart b/utils/tests/pub/validator_test.dart
|
| index eaada1a0aae22bb1ff092b9e078b024a9ffc5687..2b8b70a6d73579a4e99d05854e2371cd2b0da74f 100644
|
| --- a/utils/tests/pub/validator_test.dart
|
| +++ b/utils/tests/pub/validator_test.dart
|
| @@ -56,6 +56,15 @@ main() {
|
| run();
|
| });
|
|
|
| + test('is missing the "description" field', () {
|
| + var package = package("test_pkg", "1.0.0");
|
| + package.remove("description");
|
| + dir(appPath, [pubspec(package)]).scheduleCreate();
|
| +
|
| + expectValidationError(pubspecField);
|
| + run();
|
| + });
|
| +
|
| test('is missing the "author" field', () {
|
| var package = package("test_pkg", "1.0.0");
|
| package.remove("author");
|
|
|