aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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"));