diff --git a/syntax_checkers/erlang/erlang_check_file.erl b/syntax_checkers/erlang/erlang_check_file.erl index 54cc9366..73fb0057 100755 --- a/syntax_checkers/erlang/erlang_check_file.erl +++ b/syntax_checkers/erlang/erlang_check_file.erl @@ -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).