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) {
constexpr auto dependencies = cserver::ServiceContextBuilder{}
.Append<SomeComponent>()
.Append<SomeOtherComponent>()
.Append<SomeComponent>()
.Sort()
.GetDependencyGraph();
using Need = const cserver::DependencyGraph<