Unverified Commit 0cc44c82 authored by Philipp A. Hartmann's avatar Philipp A. Hartmann Committed by GitHub

Update test/unittest/pointertest.cpp

Co-Authored-By: 's avataryhager <yhager@users.noreply.github.com>
parent a77b49dc
......@@ -503,7 +503,7 @@ TEST(Pointer, Assignment) {
EXPECT_STREQ("0", q.GetTokens()[1].name);
EXPECT_EQ(0u, q.GetTokens()[1].index);
EXPECT_NE(&p.GetAllocator(), &q.GetAllocator());
q = static_cast<Pointer>(q);
q = static_cast<const Pointer &>(q);
EXPECT_TRUE(q.IsValid());
EXPECT_EQ(2u, q.GetTokenCount());
EXPECT_EQ(3u, q.GetTokens()[0].length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment