call hapticFunction directly (#23830)

This commit is contained in:
Yegor 2018-11-01 10:35:09 -07:00 committed by GitHub
parent aac5b04858
commit 072cd94839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ void main() {
log.add(methodCall);
});
await Function.apply(hapticFunction, null);
await hapticFunction();
expect(log, hasLength(1));
expect(
log.last,