diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-02-19 16:17:01 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-02-19 16:17:01 +0100 |
commit | 7cbbfa7c7e0fba134838c5c9c58d2d3174232882 (patch) | |
tree | 69e88887845cda8c8a0f2791246abb2746693a3c /src/catlfish_app.erl | |
parent | f40d4a258f926614eb49492e1cc905f5f14f7509 (diff) |
Make unit tests work again.
Makefile target 'check' runs them.
Diffstat (limited to 'src/catlfish_app.erl')
-rw-r--r-- | src/catlfish_app.erl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/catlfish_app.erl b/src/catlfish_app.erl index e24a1bb..56f6cc2 100644 --- a/src/catlfish_app.erl +++ b/src/catlfish_app.erl @@ -8,20 +8,12 @@ %% Application callbacks -export([start/2, stop/1]). --include("catlfish.hrl"). - %% =================================================================== %% Application callbacks %% =================================================================== start(normal, Args) -> - case ets:info(?CACHE_TABLE) of - undefined -> - ok; - _ -> - ets:delete(?CACHE_TABLE) - end, - ets:new(?CACHE_TABLE, [set, public, named_table]), + catlfish:init_cache_table(), catlfish_sup:start_link(Args). stop(_State) -> |