From 7be6a3bf9095999c25ec6e259624169c07f94522 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum <nweiz@google.com> Date: Tue, 6 Jun 2017 16:43:02 -0700 Subject: [PATCH] Update the pubspec and CHANGELOG. --- CHANGELOG.md | 4 ++++ README.md | 2 +- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96edea9..429bb5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.0 + +* Added `pid` and `exitCode` getters to `TestProcess`. + ## 1.0.0-rc.2 * Subclassed `TestProcess`es now emit log output based on the superclass's diff --git a/README.md b/README.md index 0f59c66..0862e90 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Windows), you can do so by explicitly calling [`signal()`][signal]. [signal]: https://www.dartdocs.org/documentation/test_process/latest/test_process/TestProcess/signal.html In addition to [`exitCode`][exitCode], which works the same as in `dart:io`, -`TestProcess` also adds a new method named [`shouldExit()`][shouldExit]. This is +`TestProcess` also adds a new method named [`shouldExit()`][shouldExit]. This lets tests wait for a process to exit, and (if desired) assert what particular exit code it produced. diff --git a/pubspec.yaml b/pubspec.yaml index 9e402d9..9e8aa0a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: test_process -version: 1.0.0-rc.2 +version: 1.0.0 description: A library for testing subprocesses. author: Dart Team <misc@dartlang.org> homepage: https://github.com/dart-lang/test_process -- GitLab