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 24, 2024
1 parent ffc3644 commit a785956
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 a785956

Please sign in to comment.