mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix display list harness diagnostics (#7634)
This commit is contained in:
parent
e5aa1b1e4e
commit
0eb8f94b1c
@ -484,7 +484,7 @@ class _OneParameterPaintPredicate<T> extends _DrawCommandPaintPredicate {
|
|||||||
super.verifyArguments(arguments);
|
super.verifyArguments(arguments);
|
||||||
final T actual = arguments[0];
|
final T actual = arguments[0];
|
||||||
if (expected != null && actual != expected)
|
if (expected != null && actual != expected)
|
||||||
throw 'called $methodName with ${T.runtimeType}, $actual, which was not exactly the expected ${T.runtimeType} ($expected).';
|
throw 'called $methodName with $T, $actual, which was not exactly the expected $T ($expected).';
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
Reference in New Issue
Block a user