Skip to content

Commit a219d00

Browse files
lrhnkevmoo
authored andcommitted
Remove upper case constants (flutter#6)
* Remove usage of upper-case constants. * update SDK version * remove stable from Travis config * Update pubspec.yaml
1 parent 22002d6 commit a219d00

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: dart
22
sudo: false
33
dart:
44
- dev
5-
- stable
6-
75
dart_task:
86
- test
97
- dartfmt

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: http_throttle
2-
version: 1.0.2-dev
2+
version: 1.0.2
33
author: Dart Team <[email protected]>
44
homepage: https://github.com/dart-lang/http_throttle
55
description: HTTP client middleware that throttles requests.
66
environment:
7-
sdk: ">=1.13.0 <2.0.0"
7+
sdk: ">=2.0.0-dev.17.0 <2.0.0"
88
dependencies:
99
http: ">=0.9.0 <0.12.0"
1010
pool: ">=1.0.0 <2.0.0"

test/http_throttle_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ Future pumpEventQueue([int times = 20]) {
7676
// Future.value or Future() constructors use scheduleMicrotask themselves and
7777
// would therefore not wait for microtask callbacks that are scheduled after
7878
// invoking this method.
79-
return new Future.delayed(Duration.ZERO, () => pumpEventQueue(times - 1));
79+
return new Future.delayed(Duration.zero, () => pumpEventQueue(times - 1));
8080
}

0 commit comments

Comments
 (0)