aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg-test/paragraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/vcpkg-test/paragraph.cpp')
-rw-r--r--toolsrc/src/vcpkg-test/paragraph.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/toolsrc/src/vcpkg-test/paragraph.cpp b/toolsrc/src/vcpkg-test/paragraph.cpp
index 2638a3900..05ba8cfba 100644
--- a/toolsrc/src/vcpkg-test/paragraph.cpp
+++ b/toolsrc/src/vcpkg-test/paragraph.cpp
@@ -87,8 +87,9 @@ TEST_CASE ("SourceParagraph two dependencies", "[paragraph]")
auto& pgh = **m_pgh.get();
REQUIRE(pgh.core_paragraph->dependencies.size() == 2);
- REQUIRE(pgh.core_paragraph->dependencies[0].name == "z");
- REQUIRE(pgh.core_paragraph->dependencies[1].name == "openssl");
+ // should be ordered
+ REQUIRE(pgh.core_paragraph->dependencies[0].name == "openssl");
+ REQUIRE(pgh.core_paragraph->dependencies[1].name == "z");
}
TEST_CASE ("SourceParagraph three dependencies", "[paragraph]")
@@ -102,9 +103,10 @@ TEST_CASE ("SourceParagraph three dependencies", "[paragraph]")
auto& pgh = **m_pgh.get();
REQUIRE(pgh.core_paragraph->dependencies.size() == 3);
- REQUIRE(pgh.core_paragraph->dependencies[0].name == "z");
- REQUIRE(pgh.core_paragraph->dependencies[1].name == "openssl");
- REQUIRE(pgh.core_paragraph->dependencies[2].name == "xyz");
+ // should be ordered
+ REQUIRE(pgh.core_paragraph->dependencies[0].name == "openssl");
+ REQUIRE(pgh.core_paragraph->dependencies[1].name == "xyz");
+ REQUIRE(pgh.core_paragraph->dependencies[2].name == "z");
}
TEST_CASE ("SourceParagraph construct qualified dependencies", "[paragraph]")