aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-09-22 18:48:56 +0200
committerPeter Andersson <[email protected]>2011-09-23 12:24:56 +0200
commitc7d6fa638a635a9abc7c2f10071f755032ba3617 (patch)
tree3959cfc46a14461f282f5a625b69f47a766c516c /lib/test_server/src/test_server.erl
parent178940b2184bb3cdaa79d9d51b09c54fbfe68300 (diff)
downloadotp-c7d6fa638a635a9abc7c2f10071f755032ba3617.tar.gz
otp-c7d6fa638a635a9abc7c2f10071f755032ba3617.tar.bz2
otp-c7d6fa638a635a9abc7c2f10071f755032ba3617.zip
Fix problem with location value when init config func calls help func
Diffstat (limited to 'lib/test_server/src/test_server.erl')
-rw-r--r--lib/test_server/src/test_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/test_server.erl b/lib/test_server/src/test_server.erl
index 303ee3ae95..e1a139af6f 100644
--- a/lib/test_server/src/test_server.erl
+++ b/lib/test_server/src/test_server.erl
@@ -1235,7 +1235,7 @@ run_test_case_eval1(Mod, Func, Args, Name, RunInit, TCCallback) ->
%% call user callback function if defined
Return1 = user_callback(TCCallback, Mod, Func, 'end', Return),
{Return2,Opts} = process_return_val([Return1], Mod, Func,
- Args1, Loc, Return1),
+ Args1, {Mod,Func}, Return1),
{{T,Return2},Loc,Opts}
end.