Merge pull request #175 from Nagasaki45/string_strip_deprecated

String.strip is deprecated, replace it with String.trim
This commit is contained in:
Felipe Seré
2017-04-01 08:39:33 +01:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ defmodule Strings do
end end
koan "Other times a little cleaning is in order" do koan "Other times a little cleaning is in order" do
assert String.strip(" \n banana\n ") == ___ assert String.trim(" \n banana\n ") == ___
end end
koan "Repetition is the mother of learning" do koan "Repetition is the mother of learning" do