You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#745
### Summary of Changes
Formatting tests were difficult to maintain since several tests were
testing the same rules in different contexts, including the formatting
for
* lists of constraints,
* lists of parameters,
* lists of results,
* lists of type parameter,
* classes (global vs. nested),
* enum (global vs. nested),
* functions (global vs. method).
This made changes and additions cumbersome. This PR extracts the tests
for these rules and removes the redundant ones.
Is your feature request related to a problem?
The formatter tests go a little overboard with the combinations they test.
Desired solution
Extract the tests for formatter elements that are called in different places, e.g. for parameters and type parameters.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: