diff --git a/source/dub/internal/colorize/colors.d b/source/dub/internal/colorize/colors.d index 2555887..f125ac3 100644 --- a/source/dub/internal/colorize/colors.d +++ b/source/dub/internal/colorize/colors.d @@ -77,27 +77,21 @@ unittest { - import colorize.cwrite; string ret; ret = "This is yellow".color(fg.yellow); - cwriteln(ret); assert(ret == "\033[33mThis is yellow\033[0m"); ret = "This is light green".color(fg.light_green); - cwriteln(ret); assert(ret == "\033[92mThis is light green\033[0m"); ret = "This is light blue with red background".color(fg.light_blue, bg.red); - cwriteln(ret); assert(ret == "\033[0;94;41mThis is light blue with red background\033[0m"); ret = "This is red on blue blinking".color(fg.red, bg.blue, mode.blink); - cwriteln(ret); assert(ret == "\033[5;31;44mThis is red on blue blinking\033[0m"); ret = color("This is magenta", "magenta"); - cwriteln(ret); assert(ret == "\033[35mThis is magenta\033[0m"); } @@ -180,7 +174,6 @@ unittest { - import colorize.cwrite; string ret; ret = "This is red on blue blinking" @@ -188,6 +181,5 @@ .background(bg.blue) .style(mode.blink); - cwriteln(ret); assert(ret == "\033[5m\033[44m\033[31mThis is red on blue blinking\033[0m\033[0m\033[0m"); }