mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
call hapticFunction directly (#23830)
This commit is contained in:
parent
aac5b04858
commit
072cd94839
@ -27,7 +27,7 @@ void main() {
|
||||
log.add(methodCall);
|
||||
});
|
||||
|
||||
await Function.apply(hapticFunction, null);
|
||||
await hapticFunction();
|
||||
expect(log, hasLength(1));
|
||||
expect(
|
||||
log.last,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user