Be more positive in string koans

This commit is contained in:
Uku Taht
2016-04-10 00:12:23 +01:00
parent b63a5d8e9a
commit 4c49a20927
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ defmodule Strings do
end
koan "Be careful, a message may be altered" do
assert :__ == String.replace("An incredible day", "incredible", "awful")
assert :__ == String.replace("An awful day", "awful", "incredible")
end
koan "But strings never lie about themselves" do

View File

@@ -34,7 +34,7 @@ defmodule KoansHarnessTest do
"hello",
"hello ",
["hello", "world"],
"An awful day",
"An incredible day",
"incredible",
"banana",
"banana",