diff options
author | Jordan Wilberding <[email protected]> | 2014-08-09 20:29:31 -0700 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2014-08-09 20:29:31 -0700 |
commit | 1d7f26d786452f53a77fba64fe5081885d26856f (patch) | |
tree | b256b3c4ba3db142c92d037438b7e2f50052a205 /test | |
parent | f8737c88f54aaa8f2e9a4b66bb74034f0a3bbab1 (diff) | |
parent | 11b4775c6610bd8f1c00d45e0766423301927b45 (diff) | |
download | relx-1d7f26d786452f53a77fba64fe5081885d26856f.tar.gz relx-1d7f26d786452f53a77fba64fe5081885d26856f.tar.bz2 relx-1d7f26d786452f53a77fba64fe5081885d26856f.zip |
Merge pull request #207 from tsloughter/app_sort
sort apps by version, so newest is chosen if it passes constraints
Diffstat (limited to 'test')
-rw-r--r-- | test/rlx_depsolver_tester.erl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/rlx_depsolver_tester.erl b/test/rlx_depsolver_tester.erl index b441a1e..9b55603 100644 --- a/test/rlx_depsolver_tester.erl +++ b/test/rlx_depsolver_tester.erl @@ -61,12 +61,12 @@ data1_test() -> data2_test() -> ExpectedResult = versionify([{"app18","0.0.1"}, - {"app4","0.0.1"}, + {"app4","0.0.7"}, {"app1","0.0.1"}, {"app6","0.0.1"}, {"dep_pkg13","0.0.2"}, {"app13","0.0.1"}, - {"dep_pkg5","0.0.2"}, + {"dep_pkg5","0.0.3"}, {"dep_pkg1","0.0.2"}, {"dep_pkg2","0.0.5"}, {"dep_pkg7","0.1.2"}, @@ -82,12 +82,12 @@ data3_test() -> {"app38","0.0.1"}, {"app28","0.0.1"}, {"app18","0.0.1"}, - {"app4","0.0.1"}, + {"app4","0.0.7"}, {"app1","0.0.1"}, {"app6","0.0.1"}, {"dep_pkg13","0.0.2"}, {"app13","0.0.1"}, - {"dep_pkg5","0.0.2"}, + {"dep_pkg5","0.0.3"}, {"dep_pkg1","0.0.2"}, {"dep_pkg2","0.0.5"}, {"dep_pkg7","0.1.2"}, @@ -104,12 +104,12 @@ data4_test() -> {"app38","0.0.1"}, {"app28","0.0.1"}, {"app18","0.0.1"}, - {"app4","0.0.1"}, + {"app4","0.0.7"}, {"app1","0.0.1"}, {"app6","0.0.1"}, {"dep_pkg13","0.0.2"}, {"app13","0.0.1"}, - {"dep_pkg5","0.0.2"}, + {"dep_pkg5","0.0.3"}, {"dep_pkg1","0.0.2"}, {"dep_pkg2","0.0.5"}, {"dep_pkg7","0.1.2"}, @@ -129,12 +129,12 @@ data5_test() -> {"app38","0.0.1"}, {"app28","0.0.1"}, {"app18","0.0.1"}, - {"app4","0.0.1"}, + {"app4","0.0.7"}, {"app1","0.0.1"}, {"app6","0.0.1"}, {"dep_pkg13","0.0.2"}, {"app13","0.0.1"}, - {"dep_pkg5","0.0.2"}, + {"dep_pkg5","0.0.3"}, {"dep_pkg1","0.0.2"}, {"dep_pkg2","0.0.5"}, {"dep_pkg7","0.1.2"}, @@ -157,12 +157,12 @@ data6_test() -> {"app38","0.0.1"}, {"app28","0.0.1"}, {"app18","0.0.1"}, - {"app4","0.0.1"}, + {"app4","0.0.7"}, {"app1","0.0.1"}, {"app6","0.0.1"}, {"dep_pkg13","0.0.2"}, {"app13","0.0.1"}, - {"dep_pkg5","0.0.2"}, + {"dep_pkg5","0.0.3"}, {"dep_pkg1","0.0.2"}, {"dep_pkg2","0.0.5"}, {"dep_pkg7","0.1.2"}, |