Skip to content

Commit

Permalink
Merge pull request #38 from akash-akya/dev
Browse files Browse the repository at this point in the history
Ignore additional output in the stdout while asserting
  • Loading branch information
akash-akya authored Jan 24, 2024
2 parents 87931cb + 1ff0f34 commit b82c375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/exile/process_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ defmodule Exile.ProcessTest do
{:ok, os_pid} = Process.os_pid(s)
assert os_process_alive?(os_pid)

assert {:ok, "ignored signals\n"} = Process.read(s)
assert {:ok, "ignored signals\n" <> _} = Process.read(s)

# attempt to kill the process after 100ms
assert {:ok, 137} = Process.await_exit(s, 100)
Expand Down

0 comments on commit b82c375

Please sign in to comment.