Remove duplicative koan
This truth is self-evident from the other koans.
This commit is contained in:
@@ -98,11 +98,6 @@ defmodule GenServers do
|
|||||||
assert is_pid(pid) == ___
|
assert is_pid(pid) == ___
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "When starting a GenServer you can set it's initial state" do
|
|
||||||
{:ok, pid} = GenServer.start_link(Laptop, "3kr3t!")
|
|
||||||
assert GenServer.call(pid, :get_password) == ___
|
|
||||||
end
|
|
||||||
|
|
||||||
koan "The handle_call callback is synchronous so it will block until a reply is received" do
|
koan "The handle_call callback is synchronous so it will block until a reply is received" do
|
||||||
{:ok, pid} = GenServer.start_link(Laptop, "3kr3t!")
|
{:ok, pid} = GenServer.start_link(Laptop, "3kr3t!")
|
||||||
assert GenServer.call(pid, :get_password) == ___
|
assert GenServer.call(pid, :get_password) == ___
|
||||||
|
@@ -6,7 +6,6 @@ defmodule GenServersTests do
|
|||||||
answers = [
|
answers = [
|
||||||
true,
|
true,
|
||||||
"3kr3t!",
|
"3kr3t!",
|
||||||
"3kr3t!",
|
|
||||||
{:multiple, ["Apple Inc.", "MacBook Pro"]},
|
{:multiple, ["Apple Inc.", "MacBook Pro"]},
|
||||||
{:multiple, [["2.9 GHz Intel Core i5"], 8192, :intel_iris_graphics]},
|
{:multiple, [["2.9 GHz Intel Core i5"], 8192, :intel_iris_graphics]},
|
||||||
"73x7!n9",
|
"73x7!n9",
|
||||||
|
Reference in New Issue
Block a user