Merge pull request #125 from rianrainey/remove-numbers-trailing-whitespace

Remove trailing whitespace
This commit is contained in:
Uku Taht
2016-06-08 10:23:59 +01:00
2 changed files with 8 additions and 8 deletions

View File

@@ -12,24 +12,24 @@ defmodule Numbers do
assert Integer.is_even(4) == ___
end
koan "Let's grab the individual digits in a list" do
koan "Let's grab the individual digits in a list" do
individual_digits = Integer.digits(58127)
assert individual_digits == ___
end
koan "Oh no! I need it back together" do
koan "Oh no! I need it back together" do
number = Integer.undigits([1, 2, 3, 4])
assert number == ___
end
koan "I think I need my number as a char" do
koan "I think I need my number as a char" do
char_digit = Integer.to_char_list(7)
assert char_digit == ___
end
koan "Actually I want my number as a string" do
koan "Actually I want my number as a string" do
string_digit = Integer.to_string(1234)
assert string_digit == ___
@@ -85,8 +85,8 @@ defmodule Numbers do
assert 0 in range == ___
end
koan "Is this a range?" do
koan "Is this a range?" do
assert Range.range?(1..10) == ___
assert Range.range?(0) == ___
end
end
end

View File

@@ -7,7 +7,7 @@ defmodule MapSets do
koan "I am very similar to a list" do
assert Enum.fetch(@set, 0) == {:ok, ___}
end
end
koan "However, I do not allow duplication" do
new_set = MapSet.new([1, 1, 2, 3, 3, 3])
@@ -67,4 +67,4 @@ defmodule MapSets do
koan "I want my set in a list" do
assert MapSet.to_list(@set) == ___
end
end
end