docbrown/spec/services/twitter_client
Daniel Uber 7e099db0f4
Match error class using case instead of if/elsif/else (#16952)
* prefer case to multiple if branches

case klass works fine on inheritance chains (we don't need to match on
inheritance explicitly).

* Verify case on error class behaves as before

* Fix tests

I don't know how I committed tests that were failing, but don't do that
2022-03-21 15:34:49 -05:00
..
client_spec.rb Match error class using case instead of if/elsif/else (#16952) 2022-03-21 15:34:49 -05:00