diff --git a/lib/koans/13_functions.ex b/lib/koans/13_functions.ex index ba04144..e362d1d 100644 --- a/lib/koans/13_functions.ex +++ b/lib/koans/13_functions.ex @@ -92,7 +92,7 @@ defmodule Functions do koan "The result of a function can be piped into another function as its first argument" do result = "full-name" |> String.split("-") - |> Enum.map(&(String.capitalize(&1))) + |> Enum.map(&String.capitalize/1) |> Enum.join(" ") assert result == ___