aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-08-23 16:22:47 +0200
committerLukas Larsson <[email protected]>2012-08-28 17:31:58 +0200
commitcfc6bb25d488aedaef6749d274afa536af31e65f (patch)
tree63b5d86272fd9d3f690ffe58f87eff4c67d61884 /lib
parentfd7423d3fc1a32e497084d5c70e2d05792032925 (diff)
downloadotp-cfc6bb25d488aedaef6749d274afa536af31e65f.tar.gz
otp-cfc6bb25d488aedaef6749d274afa536af31e65f.tar.bz2
otp-cfc6bb25d488aedaef6749d274afa536af31e65f.zip
Fix boken spec
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/ct_hooks.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_hooks.erl b/lib/common_test/src/ct_hooks.erl
index d0432b604d..1bcc63738e 100644
--- a/lib/common_test/src/ct_hooks.erl
+++ b/lib/common_test/src/ct_hooks.erl
@@ -48,7 +48,7 @@
%% @doc Called before any suites are started
-spec init(State :: term()) -> ok |
- {error, Reason :: term()}.
+ {fail, Reason :: term()}.
init(Opts) ->
call(get_new_hooks(Opts, undefined) ++ get_builtin_hooks(Opts),
ok, init, []).