Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b7ec9ce

Browse files
authored
[macOS] Improve TextInputPlugin test readability (#39664)
This just extracts arguments to the TextInputClient.setClient async method call into an NSDictionary local to reduce the deep indentation of the formatted code. While the bulk of these calls are identical and could be extracted to a utility function, or a class extension method like `handleDefaultSetClientCall`, the point of these tests is to exercise FlutterTextInputPlugin, and the message protocol over the channel are precisely what's being tested, so it makes sense to keep these explicit. Followup patch to #39632. Issue: flutter/flutter#120252
1 parent a966cf8 commit b7ec9ce

File tree

1 file changed

+180
-222
lines changed

1 file changed

+180
-222
lines changed

0 commit comments

Comments
 (0)