RecordProperty serializes ints and 64-bit ints, including size_ts

PiperOrigin-RevId: 486685761
Change-Id: I164d2646e65670d341dbf437ee571953c456677a
This commit is contained in:
Abseil Team
2022-11-07 09:36:17 -08:00
committed by Copybara-Service
parent a4f02ef389
commit 386c7665f5
3 changed files with 9 additions and 8 deletions

View File

@@ -39,5 +39,7 @@ class PropertyTwo : public testing::Test {
};
TEST_F(PropertyTwo, TestSomeProperties) {
RecordProperty("TestSomeProperty", 2);
// Validate we can write an unsigned size_t as a property
size_t prop_two = 2;
RecordProperty("TestSomeProperty", prop_two);
}