Skip to content

Commit

Permalink
#268: Add check for type id in virtual serialize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Sep 30, 2024
1 parent 0aab792 commit 468af6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_virtual_serialize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ void testDeserializationFromBase() {
auto out = checkpoint::deserialize<Base>(std::move(ret));

EXPECT_TRUE(nullptr != out);
EXPECT_EQ(TestEnum::Derived2, out->getID());
out->check();
}

Expand Down

0 comments on commit 468af6a

Please sign in to comment.