From 9f0fe68b310dc1ac373854ebc6b12a5b13bdb42d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 15 Jan 2018 23:20:49 +0300 Subject: Adapt to adding type prefix for repository canonical name --- tests/load/driver.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 9322773..e58962b 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -146,23 +146,23 @@ main (int argc, char* argv[]) assert (db.query ().size () == 17); shared_ptr sr ( - db.load ("dev.cppget.org/stable")); + db.load ("bpkg:dev.cppget.org/stable")); shared_ptr mr ( - db.load ("dev.cppget.org/math")); + db.load ("bpkg:dev.cppget.org/math")); shared_ptr cr ( - db.load ("dev.cppget.org/misc")); + db.load ("bpkg:dev.cppget.org/misc")); shared_ptr tr ( - db.load ("dev.cppget.org/testing")); + db.load ("bpkg:dev.cppget.org/testing")); shared_ptr gr ( - db.load ("dev.cppget.org/staging")); + db.load ("bpkg:dev.cppget.org/staging")); // Verify 'stable' repository. // - assert (sr->location.canonical_name () == "dev.cppget.org/stable"); + assert (sr->location.canonical_name () == "bpkg:dev.cppget.org/stable"); assert (sr->location.string () == "http://dev.cppget.org/1/stable"); assert (sr->display_name == "stable"); @@ -421,7 +421,7 @@ main (int argc, char* argv[]) // Verify 'math' repository. // - assert (mr->location.canonical_name () == "dev.cppget.org/math"); + assert (mr->location.canonical_name () == "bpkg:dev.cppget.org/math"); assert (mr->location.string () == "http://dev.cppget.org/1/math"); assert (mr->display_name == "math"); @@ -676,7 +676,7 @@ main (int argc, char* argv[]) // Verify 'misc' repository. // - assert (cr->location.canonical_name () == "dev.cppget.org/misc"); + assert (cr->location.canonical_name () == "bpkg:dev.cppget.org/misc"); assert (cr->location.string () == "http://dev.cppget.org/1/misc"); assert (cr->display_name.empty ()); @@ -736,7 +736,7 @@ main (int argc, char* argv[]) // Verify 'testing' repository. // - assert (tr->location.canonical_name () == "dev.cppget.org/testing"); + assert (tr->location.canonical_name () == "bpkg:dev.cppget.org/testing"); assert (tr->location.string () == "http://dev.cppget.org/1/testing"); assert (tr->display_name.empty ()); @@ -784,7 +784,7 @@ main (int argc, char* argv[]) // Verify 'staging' repository. // - assert (gr->location.canonical_name () == "dev.cppget.org/staging"); + assert (gr->location.canonical_name () == "bpkg:dev.cppget.org/staging"); assert (gr->location.string () == "http://dev.cppget.org/1/staging"); assert (gr->display_name.empty ()); -- cgit v1.1