Sha256: 60fbc00762b453fd5b1fc66592c65ac02c24be2443de3a08ce4043d40cf933ad
Contents?: true
Size: 861 Bytes
Versions: 15
Compression:
Stored size: 861 Bytes
Contents
module ::RSpec::Core::Notifications class FailedExampleNotification def fully_formatted(failure_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes) formatted = "\n #{failure_number}) #{description}\n" colorized_message_lines(colorizer).each do |line| # formatted << RSpec::Support::EncodedString.new(" #{line}\n", encoding_of(formatted)) # string mutation formatted = formatted + RSpec::Support::EncodedString.new(" #{line}\n", encoding_of(formatted)) end colorized_formatted_backtrace(colorizer).each do |line| # formatted << RSpec::Support::EncodedString.new(" #{line}\n", encoding_of(formatted)) # string mutation formatted = formatted + RSpec::Support::EncodedString.new(" #{line}\n", encoding_of(formatted)) end formatted end end end
Version data entries
15 entries across 15 versions & 2 rubygems