summaryrefslogtreecommitdiff
path: root/src/rebar_eunit.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_eunit.erl')
-rw-r--r--src/rebar_eunit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index 1341f9d..f1ddead 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -195,7 +195,7 @@ is_quickcheck_avail() ->
{error, bad_name} ->
IsAvail = false;
Dir ->
- IsAvail = filelib:is_file(filename:join(Dir, "eqc.hrl"))
+ IsAvail = filelib:is_regular(filename:join(Dir, "eqc.hrl"))
end,
erlang:put(is_quickcheck_avail, IsAvail),
?DEBUG("Quickcheck availability: ~p\n", [IsAvail]),