Combine Laptop Genserver examples to avoid process leaking issue

This commit is contained in:
Jay Hayes
2022-02-01 07:53:51 -06:00
parent ad5952c7ab
commit 20927cc1df
2 changed files with 3 additions and 8 deletions

View File

@@ -11,8 +11,7 @@ defmodule GenServersTests do
"73x7!n9",
{:error, "Incorrect password!"},
"Congrats! Your process was successfully named.",
{:ok, "Laptop unlocked!"},
{:multiple, ["Laptop unlocked!", "Incorrect password!", "Jack Sparrow"]}
{:multiple, [{:ok, "Laptop unlocked!"}, "Incorrect password!", "Jack Sparrow"]}
]
test_all(GenServers, answers)