diff --git a/spec/rubocop/cop/sorbet/signatures/void_checked_tests_spec.rb b/spec/rubocop/cop/sorbet/signatures/void_checked_tests_spec.rb index f96646e3..aa8b1394 100644 --- a/spec/rubocop/cop/sorbet/signatures/void_checked_tests_spec.rb +++ b/spec/rubocop/cop/sorbet/signatures/void_checked_tests_spec.rb @@ -4,9 +4,9 @@ RSpec.describe(RuboCop::Cop::Sorbet::VoidCheckedTests, :config) do def message - "Returning `.void` from a sig marked `.checked(:tests)` means that the" \ - "method will return a different value in non-test environments (possibly" \ - "with different truthiness). Either use `.returns(T.anything).checked(:tests)`" \ + "Returning `.void` from a sig marked `.checked(:tests)` means that the " \ + "method will return a different value in non-test environments (possibly " \ + "with different truthiness). Either use `.returns(T.anything).checked(:tests)` " \ "to keep checking in tests, or `.void.checked(:never)` to leave it untouched." end