fix up tests to reflect the actual NOTEST variable DEV_ONLY

This commit is contained in:
Eric Merritt 2013-10-14 14:10:25 -07:00
parent 4973a0fb8f
commit 16b441f0e3
10 changed files with 23 additions and 25 deletions

View file

@ -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.

View file

@ -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).