File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ defmodule GenServers do
162162 end
163163
164164 defmodule TimeoutServer do
165+ @ moduledoc false
165166 use GenServer
166167
167168 def start_link ( timeout ) do
@@ -197,6 +198,7 @@ defmodule GenServers do
197198 end
198199
199200 defmodule CrashableServer do
201+ @ moduledoc false
200202 use GenServer
201203
202204 def start_link ( initial ) do
Original file line number Diff line number Diff line change 1+ # credo:disable-for-this-file Credo.Check.Refactor.UnlessWithElse
2+ # credo:disable-for-this-file Credo.Check.Refactor.CondStatements
13defmodule ControlFlow do
24 @ moduledoc false
35 use Koans
Original file line number Diff line number Diff line change 1+ # credo:disable-for-this-file Credo.Check.Warning.IoInspect
2+ # credo:disable-for-this-file Credo.Check.Refactor.MapJoin
13defmodule PipeOperator do
24 @ moduledoc false
35 use Koans
@@ -88,7 +90,6 @@ defmodule PipeOperator do
8890 assert result == ___
8991 end
9092
91- # TODO: Fix this example. It doesn't illustrate the point well.
9293 koan "The then/2 function is useful when you need to call a function that doesn't take the piped value as first argument" do
9394 result =
9495 [ 1 , 2 , 3 ]
@@ -169,6 +170,7 @@ defmodule PipeOperator do
169170
170171 koan "Pipes can be used in function definitions for clean APIs" do
171172 defmodule TextProcessor do
173+ @ moduledoc false
172174 def clean_and_count ( text ) do
173175 text
174176 |> String . trim ( )
You can’t perform that action at this time.
0 commit comments