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
|
@ -1,6 +1,8 @@
|
|||
%%% @copyright Erlware, LLC.
|
||||
-module(ec_plists_tests).
|
||||
|
||||
-ifdef(DEV_ONLY).
|
||||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
|
@ -73,3 +75,5 @@ ftmap_bad_test() ->
|
|||
lists:seq(1, 5)),
|
||||
?assertMatch([{value, 1}, {error,{throw,test_exception}}, {value, 3},
|
||||
{value, 4}, {value, 5}] , Results).
|
||||
|
||||
-endif.
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
-module(mock).
|
||||
|
||||
-export([new_dictionary/0]).
|
||||
|
||||
new_dictionary() ->
|
||||
meck:new(ec_dictionary_proper),
|
||||
meck:expect(ec_dictionary_proper, dictionary, fun() ->
|
||||
proper_types:union([ec_dict])
|
||||
end).
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue