File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -232,9 +232,14 @@ class SkippedExampleNotification < ExampleNotification
232
232
# RSpec's built-in formatters emit.
233
233
def fully_formatted ( pending_number , colorizer = ::RSpec ::Core ::Formatters ::ConsoleCodes )
234
234
formatted_caller = RSpec . configuration . backtrace_formatter . backtrace_line ( example . location )
235
- colorizer . wrap ( "\n #{ pending_number } ) #{ example . full_description } " , :pending ) + "\n " +
236
- Formatters ::ExceptionPresenter ::PENDING_DETAIL_FORMATTER . call ( example , colorizer ) +
237
- "\n " + colorizer . wrap ( " # #{ formatted_caller } \n " , :detail )
235
+
236
+ [
237
+ colorizer . wrap ( "\n #{ pending_number } ) #{ example . full_description } " , :pending ) ,
238
+ "\n " ,
239
+ Formatters ::ExceptionPresenter ::PENDING_DETAIL_FORMATTER . call ( example , colorizer ) ,
240
+ "\n " ,
241
+ colorizer . wrap ( " # #{ formatted_caller } \n " , :detail )
242
+ ] . join ( "" )
238
243
end
239
244
end
240
245
You can’t perform that action at this time.
0 commit comments