Unverified Commit 072cd948 authored by Yegor's avatar Yegor Committed by GitHub

call hapticFunction directly (#23830)

parent aac5b048
...@@ -27,7 +27,7 @@ void main() { ...@@ -27,7 +27,7 @@ void main() {
log.add(methodCall); log.add(methodCall);
}); });
await Function.apply(hapticFunction, null); await hapticFunction();
expect(log, hasLength(1)); expect(log, hasLength(1));
expect( expect(
log.last, log.last,
......
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