Skip to content

Commit 752a09c

Browse files
author
José Valim
committed
Update error message in ExUnit
1 parent d5a8821 commit 752a09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_unit/lib/ex_unit/callbacks.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ defmodule ExUnit.Callbacks do
178178
def __merge__(_mod, other, { :ok, data }) when is_list(data), do: Keyword.merge(other, data)
179179
def __merge__(mod, _, failure) do
180180
raise "expected ExUnit callback in #{inspect mod} to return :ok " <>
181-
" or { :ok, data }, got #{inspect failure} instead"
181+
" or { :ok, keywords }, got #{inspect failure} instead"
182182
end
183183

184184
defp escape(contents) do

0 commit comments

Comments
 (0)