diff options
Diffstat (limited to 'test/mock_git_resource.erl')
-rw-r--r-- | test/mock_git_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock_git_resource.erl b/test/mock_git_resource.erl index d867a28..00f0a03 100644 --- a/test/mock_git_resource.erl +++ b/test/mock_git_resource.erl @@ -105,7 +105,7 @@ mock_download(Opts) -> filelib:ensure_dir(Dir), {git, Url, {_, Vsn}} = normalize_git(Git, Overrides, Default), App = app(Url), - AppDeps = proplists:get_value(App, Deps, []), + AppDeps = proplists:get_value({App,Vsn}, Deps, []), rebar_test_utils:create_app( Dir, App, Vsn, [element(1,D) || D <- AppDeps] |