Merge pull request #790 from stwind/master

Erlang: support files under test/ folder
This commit is contained in:
LCD 47 2013-09-19 15:06:56 -07:00
commit a79e050c13

View File

@ -30,5 +30,7 @@ get_root([], Path) ->
Path;
get_root(["src" | Tail], _Path) ->
lists:reverse(Tail);
get_root(["test" | Tail], _Path) ->
lists:reverse(Tail);
get_root([_ | Tail], Path) ->
get_root(Tail, Path).