Add sort test to dependencies test

This commit is contained in:
sha512sum 2024-06-27 02:18:40 +00:00
parent 4ab4355027
commit 6bb8412e96

View file

@ -18,8 +18,8 @@ struct SomeOtherComponent {
TEST(Dependencies, Get) { TEST(Dependencies, Get) {
constexpr auto dependencies = cserver::ServiceContextBuilder{} constexpr auto dependencies = cserver::ServiceContextBuilder{}
.Append<SomeComponent>()
.Append<SomeOtherComponent>() .Append<SomeOtherComponent>()
.Append<SomeComponent>()
.Sort() .Sort()
.GetDependencyGraph(); .GetDependencyGraph();
using Need = const cserver::DependencyGraph< using Need = const cserver::DependencyGraph<