Commit 0eb8f94b authored by Adam Barth's avatar Adam Barth Committed by GitHub

Fix display list harness diagnostics (#7634)

parent e5aa1b1e
......@@ -484,7 +484,7 @@ class _OneParameterPaintPredicate<T> extends _DrawCommandPaintPredicate {
super.verifyArguments(arguments);
final T actual = arguments[0];
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
......
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