Skip to content

Commit

Permalink
fix #15 typecast IO.ANSI assert_? message to string
Browse files Browse the repository at this point in the history
  • Loading branch information
apieum committed Jan 11, 2015
1 parent 3f63aee commit f3305d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/Koans.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Koans do

defmacro assert_?(_ \\ nil, _ \\ nil) do
quote do
meditate @current_meditation <> IO.ANSI.format([:red, " (fill with an assertion)"])
meditate @current_meditation <> "#{IO.ANSI.format([:red, ' (fill with an assertion)'])}"
end
end

Expand Down

0 comments on commit f3305d0

Please sign in to comment.