test/test_ansicode.rb in ansi-1.1.0 vs test/test_ansicode.rb in ansi-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
require 'test/unit'
-require 'ansicode'
+require 'ansi/code'
class TestANSICode < Test::Unit::TestCase
- include ANSICode
+ include ANSI::Code
def test_methods
str = red + "Hello" + blue + "World"
out = "\e[31mHello\e[34mWorld"
assert_equal( out, str )