17
18
19
20
21
22
23
24
25
|
# File 'lib/test/drive/formatter.rb', line 17
def print_result(result)
if result == 'SUCCESS' || result == 'UNSTABLE'
puts rainbowize '*********************************************************************************************************************************************'
puts rainbowize Artii::Base.new(font: 'slant').asciify('T E S T - D R I V E N .')
puts rainbowize '*********************************************************************************************************************************************'
else
puts Rainbow(Artii::Base.new.asciify result).red
end
end
|