mirror of
https://github.com/amineo/t2_server_query_elixir.git
synced 2026-03-06 22:10:23 +00:00
* Cleanup minor warnings
This commit is contained in:
parent
03fc17b63b
commit
dfa85f0e8b
2 changed files with 4 additions and 7 deletions
|
|
@ -24,11 +24,8 @@ defmodule T2ServerQueryTest do
|
|||
Task.async(T2ServerQuery, :query, ["67.222.138.13"])
|
||||
]
|
||||
|
||||
server_list = Task.yield_many(tasks)
|
||||
|> Enum.map(fn {task, result} ->
|
||||
#|> Enum.with_index(fn {task, result}, index ->
|
||||
# :ok should be returned for each task and result
|
||||
# assert {task, {:ok, result}} == Enum.at(server_list, index)
|
||||
Task.yield_many(tasks)
|
||||
|> Enum.map(fn {_task, result} ->
|
||||
test_server_status(result)
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue