Index: utils/tests/pub/validator_test.dart |
diff --git a/utils/tests/pub/validator_test.dart b/utils/tests/pub/validator_test.dart |
index 77d9c8652ef08bd19a26fc169f951072c3b4f1bf..4f59bbae58ffb211043970c9a05435e5d2452e92 100644 |
--- a/utils/tests/pub/validator_test.dart |
+++ b/utils/tests/pub/validator_test.dart |
@@ -284,12 +284,12 @@ main() { |
integration('has a package name with an invalid character', () { |
dir(appPath, [libPubspec("test-pkg", "1.0.0")]).scheduleCreate(); |
- expectValidationWarning(name); |
+ expectValidationError(name); |
}); |
integration('has a package name that begins with a number', () { |
dir(appPath, [libPubspec("8ball", "1.0.0")]).scheduleCreate(); |
- expectValidationWarning(name); |
+ expectValidationError(name); |
}); |
integration('has a package name that contains upper-case letters', () { |