Permalink
Browse files

Update test to use esupervisor instead of gen_supervisor

  • Loading branch information...
1 parent e138cd8 commit 18a23ee7fda8f2c33c7720cece1a71a943714ed1 Yurii Rashkovskii committed Jul 29, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_sup.erl
View
@@ -1,6 +1,6 @@
-module(test_sup).
--behaviour(gen_supervisor).
--include_lib("gen_supervisor/include/gen_supervisor.hrl").
+-behaviour(esupervisor).
+-include_lib("esupervisor/include/esupervisor.hrl").
%% API
-export([start_link/0]).
@@ -11,7 +11,7 @@
-export([init/1]).
start_link() ->
- gen_supervisor:start_link({local, ?MODULE}, ?MODULE, []).
+ esupervisor:start_link({local, ?MODULE}, ?MODULE, []).
init([]) ->
#one_for_one{

0 comments on commit 18a23ee

Please sign in to comment.