This commit is contained in:
Feng 2015-12-17 14:12:35 +08:00
parent 714aa4dc9d
commit 7ffa25c655
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,12 @@ ensure_tab(Tab, Opts) ->
ok ok
end. end.
-ifdef(TEST).
destory() ->
ets:delete(route),
ets:delete(reverse_route).
-endif.
%%------------------------------------------------------------------------------ %%------------------------------------------------------------------------------
%% @doc Add Routes. %% @doc Add Routes.
%% @end %% @end