summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-09-01 11:11:24 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-09-01 11:11:24 +0200
commitf22337b68f7574ddfc475d741994a9ad7ed7386d (patch)
tree0ddcbcdd266160db13ea3cb8425b910dbb1f3ca9
parent0af95507aa0ef8f5b7e2dd1024f9b0bb3399236c (diff)
Comment eunit_test:function_wrapper/2 TODO
-rw-r--r--src/rebar_eunit.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index b026b4b..16ad365 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -314,6 +314,7 @@ get_beam_test_exports(ModuleStr) ->
make_test_wrappers(RawTests) ->
%% eunit_test:function_wrapper/2 was renamed to mf_wrapper/2 in R15B02
+ %% TODO: remove check/fallback once at least R15B02 is required
{module, eunit_test} = code:ensure_loaded(eunit_test),
WrapperFun = case erlang:function_exported(eunit_test, mf_wrapper, 2) of
true -> fun eunit_test:mf_wrapper/2;