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

Unified Diff: sdk/lib/_internal/pub/test/validator/size_test.dart

Issue 1060713002: Allow packages up to 100MB. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « sdk/lib/_internal/pub/lib/src/validator/size.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/validator/size_test.dart
diff --git a/sdk/lib/_internal/pub/test/validator/size_test.dart b/sdk/lib/_internal/pub/test/validator/size_test.dart
index 9949280ef75ad17469de2a0f6c2630f099c5389a..a03d2854812c3ff5efa34785f81c85af018d4cf1 100644
--- a/sdk/lib/_internal/pub/test/validator/size_test.dart
+++ b/sdk/lib/_internal/pub/test/validator/size_test.dart
@@ -22,12 +22,12 @@ main() {
setUp(d.validPackage.create);
- integration('should consider a package valid if it is <= 10 MB', () {
+ integration('should consider a package valid if it is <= 100 MB', () {
expectNoValidationError(size(100));
- expectNoValidationError(size(10 * math.pow(2, 20)));
+ expectNoValidationError(size(100 * math.pow(2, 20)));
});
- integration('should consider a package invalid if it is more than 10 MB', () {
- expectValidationError(size(10 * math.pow(2, 20) + 1));
+ integration('should consider a package invalid if it is more than 100 MB', () {
nweiz 2015/04/03 19:38:00 Long line.
Bob Nystrom 2015/04/03 20:03:33 Done.
+ expectValidationError(size(100 * math.pow(2, 20) + 1));
});
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/validator/size.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698