From f22337b68f7574ddfc475d741994a9ad7ed7386d Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 1 Sep 2012 11:11:24 +0200 Subject: Comment eunit_test:function_wrapper/2 TODO --- src/rebar_eunit.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.1