[versions] roll to latest test (#79099)

This commit is contained in:
Jonah Williams
2021-03-31 07:45:40 -07:00
committed by GitHub
parent 8158b478d7
commit 443d07b707
49 changed files with 226 additions and 226 deletions

View File

@@ -12,7 +12,7 @@ dependencies:
# We depend on very specific internal implementation details of the
# 'test' package, which change between versions, so when upgrading
# this, make sure the tests are still running correctly.
test_api: 0.2.19
test_api: 0.3.0
# Used by golden file comparator
path: 1.8.0
@@ -45,4 +45,4 @@ dependencies:
dev_dependencies:
file: 6.1.0
# PUBSPEC CHECKSUM: ee31
# PUBSPEC CHECKSUM: d6f7

View File

@@ -73,7 +73,7 @@ void main() {
}
expect(failure, isNotNull);
final String message = failure.message;
final String? message = failure.message;
expect(message, contains('Expected: exactly one matching node in the widget tree\n'));
expect(message, contains('Actual: _TextFinder:<zero widgets with text "foo">\n'));
expect(message, contains('Which: means none were found but one was expected\n'));
@@ -96,7 +96,7 @@ void main() {
}
expect(failure, isNotNull);
final String message = failure.message;
final String? message = failure.message;
expect(message, contains('Expected: no matching nodes in the widget tree\n'));
expect(message, contains('Actual: _TextFinder:<exactly one widget with text "foo": Text("foo", textDirection: ltr)>\n'));
@@ -114,7 +114,7 @@ void main() {
}
expect(failure, isNotNull);
final String message = failure.message;
final String? message = failure.message;
expect(message, contains('Expected: no matching nodes in the widget tree\n'));
expect(message, contains('Actual: _TextFinder:<exactly one widget with text "foo" (ignoring offstage widgets): Text("foo", textDirection: ltr)>\n'));