add syntax test cases

This commit is contained in:
gmarik
2012-08-15 02:48:41 -05:00
parent 3ad4b0334c
commit 3bf598d169
2 changed files with 25 additions and 0 deletions

20
test/files/test.erl Normal file
View File

@@ -0,0 +1,20 @@
-module(mmc_logmon_sup).
-behaviour(supervisor).
-export([init/1]).
init(_) ->
{ok, {
{one_for_one, 5, 1},
[
{listener,
{aaa, start_link, []},
permanent, 100, worker,
[aaa]
},
{server,
{bbb, start_link, []},
permanent, 100, worker,
[bbb]
}
]
}}.