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:
@@ -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]+$'));
|
||||
|
||||
Reference in New Issue
Block a user