Test::Unit::TestCase
# File lib/rex/ui/text/color.rb.ut.rb, line 9 def test_color color = Rex::Ui::Text::Color.new.ansi('bold', 'red') color += 'hey sup' color += Rex::Ui::Text::Color.new.ansi('clear') assert_equal("\e[1;31mhey sup\e[0m", color) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.