Be more positive in string koans
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user