fix up tests to reflect the actual NOTEST variable DEV_ONLY
This commit is contained in:
parent
4973a0fb8f
commit
16b441f0e3
10 changed files with 23 additions and 25 deletions
|
@ -671,14 +671,14 @@ pad2(X) when is_float(X) ->
|
|||
ltoi(X) ->
|
||||
list_to_integer(X).
|
||||
|
||||
%%
|
||||
%% TEST FUNCTIONS
|
||||
%%
|
||||
%% c(dh_date,[{d,'TEST'}]).
|
||||
%%-define(NOTEST, 1).
|
||||
%%%===================================================================
|
||||
%%% Tests
|
||||
%%%===================================================================
|
||||
|
||||
-ifdef(DEV_ONLY).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
||||
-define(DATE, {{2001,3,10},{17,16,17}}).
|
||||
-define(DATEMS, {{2001,3,10},{17,16,17,123456}}).
|
||||
-define(DATE_NOON, {{2001,3,10},{12,0,0}}).
|
||||
|
@ -938,3 +938,4 @@ zulu_test_() ->
|
|||
?_assertEqual(format("Y-m-d\\TH:i:s",nparse("2001-03-10T15:16:17-04:00")),
|
||||
"2001-03-10T19:16:17")
|
||||
].
|
||||
-endif.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue