Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update test to use esupervisor instead of gen_supervisor

  • Loading branch information...
commit 18a23ee7fda8f2c33c7720cece1a71a943714ed1 1 parent e138cd8
Yurii Rashkovskii authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_sup.erl
View
6 test/test_sup.erl
@@ -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{
Please sign in to comment.
Something went wrong with that request. Please try again.