better test

This commit is contained in:
Michele Caini
2018-03-02 08:58:09 +01:00
parent 7ca615a1c1
commit b3df46db19

View File

@@ -208,6 +208,7 @@ TEST(DefaultRegistry, Orphans) {
registry.create();
registry.create<int>();
registry.create();
registry.attach<double>(registry.create());
registry.orphans([&](auto) { ++tot; });
ASSERT_EQ(tot, 2u);