Skip to content

Commit 185337e

Browse files
committed
Handle case when there is now test sources
1 parent d685a78 commit 185337e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rebar_prv_common_test.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ do(State) ->
4646
%% successfully compiled apps
4747
{ok, S} ->
4848
{ok, T} = Tests,
49-
TestSources = proplists:get_value(dir, T),
49+
TestSources = proplists:get_value(dir, T, []),
5050
AllDeps = rebar_state:code_paths(S, all_deps),
5151
IsTestDir = fun(Path) -> string:slice(Path, length(Path) - 4, 4) == "test" end,
5252
CompiledTestsDirs = lists:filter(IsTestDir, AllDeps),

0 commit comments

Comments
 (0)