Skip to content

Commit

Permalink
Merge pull request #33 from JonRowe/fix-test-for-180
Browse files Browse the repository at this point in the history
Prevent test from failing on 1.8.0
  • Loading branch information
brandonjoyce authored Feb 6, 2019
2 parents 0d097b2 + a5528a7 commit 13c7288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/func_list_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule FuncListTest do
{:ok, pid} = GenServer.start_link(FuncList, [])

assert_raise UndefinedFunctionError,
"function nil.function_name/1 is undefined or private",
~r[function nil.function_name/1 is undefined],
fn ->
FuncList.apply(pid, :function_name, [1])
end
Expand All @@ -17,7 +17,7 @@ defmodule FuncListTest do
FuncList.push(pid, :function_name, fn _x, _y, _z -> 1 end)

assert_raise UndefinedFunctionError,
"function nil.function_name/1 is undefined or private",
~r[function nil.function_name/1 is undefined],
fn ->
FuncList.apply(pid, :function_name, [1])
end
Expand Down

0 comments on commit 13c7288

Please sign in to comment.