first commit
This commit is contained in:
@@ -5,15 +5,15 @@ defmodule Strings do
|
||||
@intro "Strings"
|
||||
|
||||
koan "Strings are there to represent text" do
|
||||
assert "hello" == ___
|
||||
assert "hello" == "hello"
|
||||
end
|
||||
|
||||
koan "Values may be inserted into strings by interpolation" do
|
||||
assert "1 + 1 = #{1 + 1}" == ___
|
||||
assert "1 + 1 = #{1 + 1}" == "1 + 1 = 2"
|
||||
end
|
||||
|
||||
koan "They can be put together" do
|
||||
assert "hello world" == ___ <> "world"
|
||||
assert "hello world" == "hello " <> "world"
|
||||
end
|
||||
|
||||
koan "Or pulled apart into a list when needed" do
|
||||
|
||||
Reference in New Issue
Block a user