Skip to content

Commit

Permalink
Remove deprecation warning since r18
Browse files Browse the repository at this point in the history
Use erlang:timestamp/1 instead of (deprecated since r18) erlang:now/1.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information
lemenkov committed Oct 6, 2017
1 parent 0357bc7 commit c53fe03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gproc_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
-include_lib("eunit/include/eunit.hrl").
-include_lib("stdlib/include/qlc.hrl").

-define(T_NAME, {n, l, {?MODULE, ?LINE, erlang:now()}}).
-define(T_NAME, {n, l, {?MODULE, ?LINE, erlang:timestamp()}}).

conf_test_() ->
{foreach,
Expand Down

0 comments on commit c53fe03

Please sign in to comment.