Unverified Commit 09c7eb1b authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

fix type error in service_worker_test.dart (#99524)

parent 852bfe2a
......@@ -57,7 +57,8 @@ Future<void> _rebuildApp({ required int version }) async {
/// test zone.
void expect(Object? actual, Object? expected) {
final Matcher matcher = wrapMatcher(expected);
final Map<Object, Object> matchState = <Object, Object>{};
// matchState needs to be of type <Object?, Object?>, see https://github.com/flutter/flutter/issues/99522
final Map<Object?, Object?> matchState = <Object?, Object?>{};
if (matcher.matches(actual, matchState)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment