| commit | 520ade132d7397f7f180a171d387f796b4718af6 | [log] [tgz] |
|---|---|---|
| author | Lasse R.H. Nielsen <lrn@google.com> | Thu May 04 16:13:41 2017 +0200 |
| committer | Lasse R.H. Nielsen <lrn@google.com> | Thu May 04 16:13:41 2017 +0200 |
| tree | 70d5a4dda96684429e13ee61fca66afbe83c16e5 | |
| parent | fe0d59a2a6353f8aa2d961327f91e91847919ab4 [diff] |
Fix write to sink after close in test code. R=floitsch@google.com Review-Url: https://codereview.chromium.org//2857383002 .
diff --git a/pkgs/package_config/CHANGELOG.md b/pkgs/package_config/CHANGELOG.md index 18a42ce..c033678 100644 --- a/pkgs/package_config/CHANGELOG.md +++ b/pkgs/package_config/CHANGELOG.md
@@ -1,3 +1,7 @@ +## 1.0.1 + +- Fix test to not write to sink after it's closed. + ## 1.0.0 - Public API marked stable.
diff --git a/pkgs/package_config/pubspec.yaml b/pkgs/package_config/pubspec.yaml index e1afec2..eaef83e 100644 --- a/pkgs/package_config/pubspec.yaml +++ b/pkgs/package_config/pubspec.yaml
@@ -1,5 +1,5 @@ name: package_config -version: 1.0.0 +version: 1.0.1 description: Support for working with Package Resolution config files. author: Dart Team <misc@dartlang.org> homepage: https://github.com/dart-lang/package_config
diff --git a/pkgs/package_config/test/discovery_test.dart b/pkgs/package_config/test/discovery_test.dart index 8807ac4..897063f 100644 --- a/pkgs/package_config/test/discovery_test.dart +++ b/pkgs/package_config/test/discovery_test.dart
@@ -290,6 +290,7 @@ if (fileOrDir == null) { request.response.statusCode = 404; request.response.close(); + return; } } request.response.write(fileOrDir);