Skip to content

Commit

Permalink
test(core): cover missing Fields::Field getter
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Sep 19, 2023
1 parent 21f7cc0 commit b11bb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tests/reflection/traits/fields.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ TEST_CASE("reflection::FieldsTrait")
CHECK(fooField->pointerTo(&object) == &object.foo);
CHECK(barField->name() == "bar");
CHECK(barField->type().is<SimpleType>());
CHECK(barField->pointerTo(&object) == &object.bar);
CHECK(barField->pointerTo(static_cast<const ObjectType*>(&object)) == &object.bar);
}
}

0 comments on commit b11bb29

Please sign in to comment.