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

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,