Removes last outside references to the Colour module

This commit is contained in:
Felipe Sere
2016-05-15 01:58:57 +02:00
parent ddcd971ede
commit bccb41c280
3 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
defmodule Display.Intro do
alias Display.Colours
alias Display.Paint
def intro(module, modules) do
if not module in modules do
@@ -11,6 +11,6 @@ defmodule Display.Intro do
def show_intro(message) do
message <> "\n"
|> Colours.green
|> Paint.green
end
end

View File

@@ -1,5 +1,4 @@
defmodule Display.ProgressBar do
alias Display.Colours
@progress_bar_length 30

View File

@@ -4,7 +4,7 @@ defmodule IntroTest do
alias Display.Intro
test "module not visited yet" do
assert Intro.intro(SampleKoan, []) == "\e[32mThere is something\n\n\e[0m"
assert Intro.intro(SampleKoan, []) == "There is something\n\n"
end
test "module has been visited" do