aboutsummaryrefslogtreecommitdiff
path: root/tests/repository-location
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-02-08 18:41:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-08 18:42:57 +0300
commit6202224d079b704ffb9cfbc6972de2be60d38a97 (patch)
tree6a81ad020ec69de0caf19265cc586af74aa5aab2 /tests/repository-location
parentb0b833e6a7330b38bc2732d681a8f48c380d49e8 (diff)
Add support for git location type to repository manifest
Diffstat (limited to 'tests/repository-location')
-rw-r--r--tests/repository-location/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/repository-location/driver.cxx b/tests/repository-location/driver.cxx
index 862b801..18ccd2a 100644
--- a/tests/repository-location/driver.cxx
+++ b/tests/repository-location/driver.cxx
@@ -710,6 +710,11 @@ namespace bpkg
"http://cppget.org/pkg/foo/misc/stable");
}
{
+ repository_location l (loc ("https://git.github.com/test.git#master",
+ repository_type::git));
+ assert (effective_url ("../..", l) == "../..");
+ }
+ {
repository_location l (
loc ("http://www.cppget.org/foo/bpkg/1/misc/stable"));