diff options
author | Salvage <29021710+Saalvage@users.noreply.github.com> | 2022-10-12 01:01:07 +0300 |
---|---|---|
committer | Salvage <29021710+Saalvage@users.noreply.github.com> | 2022-10-12 01:01:07 +0300 |
commit | 591be0c197f50d79fe33f365845ec2751dca01f2 (patch) | |
tree | 4e505de006655920e3ab0f04924e8b7e517d00db /examples | |
parent | a36f5ad9baad85800f4866dfd798563f7d4021c1 (diff) |
Cleanupfix-711
Diffstat (limited to 'examples')
-rw-r--r-- | examples/all_features/test_cases_and_suites.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/all_features/test_cases_and_suites.cpp b/examples/all_features/test_cases_and_suites.cpp index 492c904e..47425be2 100644 --- a/examples/all_features/test_cases_and_suites.cpp +++ b/examples/all_features/test_cases_and_suites.cpp @@ -49,15 +49,15 @@ DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_BEGIN #include <windows.h> #else #include <unistd.h> -#endif // _WIN32_CLEAN_FROM_WARNINGS_ON_WALL_END +#endif // _WIN32 DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END TEST_CASE("normal test in a test suite from a decorator" * doctest::test_suite("ts1") * doctest::timeout(0.000001)) { #ifdef _WIN32 - Sleep(1000); + Sleep(1); #else - usleep(1000000); + usleep(1000); #endif // _WIN32 MESSAGE("failing because of the timeout decorator!"); } |