mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 12:13:52 +00:00
14 lines
317 B
C++
14 lines
317 B
C++
#include "app_helper.hpp"
|
|
#include <Windows.h>
|
|
|
|
// This test verifies that CLI11 still works if
|
|
// Windows.h is included. #145
|
|
|
|
TEST_F(TApp, WindowsTestSimple) {
|
|
app.add_flag("-c,--count");
|
|
args = {"-c"};
|
|
run();
|
|
EXPECT_EQ((size_t)1, app.count("-c"));
|
|
EXPECT_EQ((size_t)1, app.count("--count"));
|
|
}
|