Bump to test 0.12.20. (#8349)

* Bump to test `0.12.20`.

Some test `0.12.20` highlights:
  * introduces `expectLater()`  that returns a `Future` that completes when the matcher has finished running
  * deprecates the `verbose` parameter to `expect()` and the `formatFailure()` (to be removed in `0.13.0`)

Otherwise:
  * to keep up w/ the deprecation of `verbose`, removes `widget_tester` API to pass `verbose` flag (alternatively we could suppress the warning for now)

* Update stack manipulation.

* Fix framecount.
This commit is contained in:
Phil Quitslund
2017-02-23 15:08:25 -08:00
committed by GitHub
parent 8c043d06de
commit a002e72022
8 changed files with 16 additions and 15 deletions

View File

@@ -11,7 +11,7 @@ void main() {
throw 'unexpectedly did not throw';
} catch (e, stack) {
StringBuffer information = new StringBuffer();
expect(reportExpectCall(stack, information), 3);
expect(reportExpectCall(stack, information), 4);
List<String> lines = information.toString().split('\n');
expect(lines[0], 'This was caught by the test expectation on the following line:');
expect(lines[1], matches(r'^ .*stack_manipulation_test.dart line [0-9]+$'));