Test: Silence compiler warning about signed int literal being too big

This commit is contained in:
Riyyi
2022-08-24 22:07:49 +02:00
parent 7093b5ad3d
commit f31f7feb5e
+1 -1
View File
@@ -55,7 +55,7 @@ TEST_CASE(FormatIntegral)
result = format("{}", u32); result = format("{}", u32);
EXPECT_EQ(result, "4294967295"); EXPECT_EQ(result, "4294967295");
size_t u64 = 18446744073709551615; // long unsigned int size_t u64 = 18446744073709551615u; // long unsigned int
result = format("{}", u64); result = format("{}", u64);
EXPECT_EQ(result, "18446744073709551615"); EXPECT_EQ(result, "18446744073709551615");
} }