Shorten a comment to make Credo happy

This commit is contained in:
Jordan Bracco 2020-06-14 19:10:41 +02:00
parent 001151e7d9
commit 9a70442ac2

View file

@ -104,7 +104,8 @@ defmodule GenMagic.ApprenticeTest do
assert {:ok, _} = :erlang.binary_to_term(data) assert {:ok, _} = :erlang.binary_to_term(data)
refute_receive _ refute_receive _
# This path should be long enough for buffers, but larger than a valid path name. Magic will return an errno 36. # This path should be long enough for buffers, but larger than a valid path name.
# Magic will return an errno 36.
file = @tmp_path <> String.duplicate("a", 256) file = @tmp_path <> String.duplicate("a", 256)
send(port, {self(), {:command, :erlang.term_to_binary({:file, file})}}) send(port, {self(), {:command, :erlang.term_to_binary({:file, file})}})
assert_receive {^port, {:data, data}} assert_receive {^port, {:data, data}}