diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-05-06 23:18:55 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-05-24 13:43:22 -0400 |
commit | 124f121d38322a3db50458caeac47e84dccee45c (patch) | |
tree | 99fb63de5ebea9332d344989185b59febf62e685 /test/rebar_install_deps_SUITE.erl | |
parent | 24b4eb4aa5f1b59154d7d0ba93285b0862de549d (diff) |
Support package hashes in structure and lockfile
- the internal representation for package locks moves from `{Name, {pkg,
PkgName, Vsn}, Lvl}` to `{Name, {pkg, PkgName, Vsn, Hash}, Lvl}`
- the internal representation for packages moves from `{pkg, PkgName,
Vsn}` to `{pkg, PkgName, Vsn, Hash}`
- the hash can be `undefined`, meaning no check will be done
- no checking is done yet.
Diffstat (limited to 'test/rebar_install_deps_SUITE.erl')
-rw-r--r-- | test/rebar_install_deps_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_install_deps_SUITE.erl b/test/rebar_install_deps_SUITE.erl index b8b70b3..9ff28c7 100644 --- a/test/rebar_install_deps_SUITE.erl +++ b/test/rebar_install_deps_SUITE.erl @@ -475,5 +475,5 @@ in_warnings(git, Warns, NameRaw, VsnRaw) -> in_warnings(pkg, Warns, NameRaw, VsnRaw) -> Name = iolist_to_binary(NameRaw), Vsn = iolist_to_binary(VsnRaw), - 1 =< length([1 || {_, [AppName, {pkg, _, AppVsn}]} <- Warns, + 1 =< length([1 || {_, [AppName, {pkg, _, AppVsn, _}]} <- Warns, AppName =:= Name, AppVsn =:= Vsn]). |