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 end
koan "Be careful, a message may be altered" do 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 end
koan "But strings never lie about themselves" do koan "But strings never lie about themselves" do

View File

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