Fix display list harness diagnostics (#7634)

This commit is contained in:
Adam Barth 2017-01-25 10:08:11 -08:00 committed by GitHub
parent e5aa1b1e4e
commit 0eb8f94b1c

View File

@ -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