1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-07 23:33:52 +00:00

Replace c type short by c++ type int16_t

This commit is contained in:
Christoph Bachhuber 2020-02-22 07:55:23 +01:00 committed by Henry Schreiner
parent 534792577d
commit 286cd0f0e2

View File

@ -902,7 +902,7 @@ TEST(Types, TypeName) {
std::string int_name = CLI::detail::type_name<int>();
EXPECT_EQ("INT", int_name);
std::string int2_name = CLI::detail::type_name<short>();
std::string int2_name = CLI::detail::type_name<std::int16_t>();
EXPECT_EQ("INT", int2_name);
std::string uint_name = CLI::detail::type_name<unsigned char>();