Move away from RSpec's described_class#22307
Conversation
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Sorry to be that guy: now I'm actually looking at the diff, I kinda hate it 😭.
Could we do something like a type alias or e.g. test_alias = Homebrew::API::Cask::CaskStructGenerator to have RSpec handle this better with Sorbet while avoiding the excessive repetition?
Hah, it is quite a lot of diff.
To avoid the excessive repetition |
Works for me! |
brew lgtm(style, typechecking and tests) with your changes locally?