mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 12:43:52 +00:00
Replace c type long long by c++ type int64_t
This commit is contained in:
parent
0c8a391072
commit
35816a4eee
@ -611,7 +611,7 @@ TEST_F(TApp, BoolOnlyFlag) {
|
||||
|
||||
TEST_F(TApp, ShortOpts) {
|
||||
|
||||
unsigned long long funnyint{0};
|
||||
std::uint64_t funnyint{0};
|
||||
std::string someopt;
|
||||
app.add_flag("-z", funnyint);
|
||||
app.add_option("-y", someopt);
|
||||
@ -624,7 +624,7 @@ TEST_F(TApp, ShortOpts) {
|
||||
|
||||
EXPECT_EQ(2u, app.count("-z"));
|
||||
EXPECT_EQ(1u, app.count("-y"));
|
||||
EXPECT_EQ((unsigned long long)2, funnyint);
|
||||
EXPECT_EQ(std::uint64_t{2}, funnyint);
|
||||
EXPECT_EQ("zyz", someopt);
|
||||
EXPECT_EQ(app.count_all(), 3u);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user