aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-08-23 18:50:50 +0200
committerPeter Andersson <[email protected]>2012-08-23 18:50:50 +0200
commit25250a48715911788a610122271b05cc30876442 (patch)
treeb3ab05a1f8c31634bbde7d863c251103005ca399 /lib
parenta94308cb1e1aa727a126e99b5a8714490dd3de16 (diff)
downloadotp-25250a48715911788a610122271b05cc30876442.tar.gz
otp-25250a48715911788a610122271b05cc30876442.tar.bz2
otp-25250a48715911788a610122271b05cc30876442.zip
Fix error in function specification
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, []).